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
How many time I can use sololearn trial mode?
1 Votes
Ошибка в приложении Sololearn
1 Votes
Is anyone else experiencing this Sololearn issue?
0 Votes
NEO V2.0
1 Votes
Did sololearn helped you to get easier a job?
1 Votes
Hello guys,
1 Votes
solo learn program issue - iPhone?
1 Votes
Sololearn course
1 Votes
Payment by account
0 Votes
Python
0 Votes