Kursy
Kursy
Kompilator kodu
Kompilator kodu
Dyskusja
Cennik
Zespoły
Zaloguj się
Zarejestruj się
Menu
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
Saturn League badge
3 Votes
SHOULD I LEARN HTML OR PYTHON/JAVA
1 Votes
Why producer consumer not working at all
1 Votes
Sololearn keeps crashing
1 Votes
certificate
1 Votes
Lua course?
2 Votes
CSS
1 Votes
Trying to listen to tunes while learning
0 Votes
About Advanced Courses
0 Votes
#kivy_permission problem #HELP YOUR BROTHER
1 Votes