Kurse
AnmeldenBeginne KI zu lernen
Kurse
AnmeldenBeginne KI zu lernen

F&A Diskussionen

a=[[0]*2]*2 a[0][0]=5 out: [[5,0],[5,0]]
listmultiplypython
6 Stimmen
5 Antworten
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 Stimme
4 Antworten
11th Apr 2021, 3:40 PM
ice
ice - avatar
Heute heiß
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
Sololearn course
1 Votes
solo learn program issue - iPhone?
1 Votes
Python
0 Votes
Bug sur le deuxième cours de python
1 Votes