Cursussen
InloggenBegin met het leren van AI
Cursussen
InloggenBegin met het leren van AI

Q&A Discussies

a=[[0]*2]*2 a[0][0]=5 out: [[5,0],[5,0]]
listmultiplypython
6 Stemmen
5 Antwoorden
5th Sep 2021, 12:39 PM
Arsalan [Inactive]
Arsalan [Inactive] - avatar
who can tell me what happens in this code?
a[0][0]=5a=[[0]*2]*2b[0][0]=5b=[[0,0],[0,0]]print(a,b)
1 Stem
4 Antwoorden
11th Apr 2021, 3:40 PM
ice
ice - avatar
Populair vandaag
Is anyone else experiencing this Sololearn issue?
0 Votes
Best language?
0 Votes
solo learn program issue - iPhone?
1 Votes
How do I keep myself motivated in coding
0 Votes
Anyone have song names? Comment your favorites here for a project im working on
0 Votes
Bro can you fix yt error?
0 Votes
Learn - multiple choice course questions display in one box making it impossible to continue
1 Votes
Sql practice
0 Votes
I want to know how to make an Payment App like what I need to learn I need some guidance
0 Votes
Balance
0 Votes