Kursy
Zaloguj się
Zacznij uczyć się AI
Kursy
Zaloguj się
Zacznij uczyć się AI
Dyskusje Q&A
Szukaj
Szukaj
Zadaj pytanie
Zadaj pytanie
a=[[0]*2]*2 a[0][0]=5 out: [[5,0],[5,0]]
list
multiply
python
6 głosów
5 odpowiedzi
5th Sep 2021, 12:39 PM
Arsalan [Inactive]
who can tell me what happens in this code?
a[0][0]=5
a=[[0]*2]*2
b[0][0]=5
b=[[0,0],[0,0]]
print(a,b)
1 Głos
4 odpowiedzi
11th Apr 2021, 3:40 PM
ice
Zadaj pytanie
Zadaj pytanie
Zadaj pytanie
Zadaj pytanie
Popularne dzisiaj
Is anyone else experiencing this Sololearn issue?
0 Votes
Best language?
0 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
1 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
I want to know how to make an Payment App like what I need to learn I need some guidance
0 Votes
Bug in Completing AI Practice
0 Votes
Best Software for Windows Users to Convert RAR to ZIP
0 Votes