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
Java IDE for building a game.
1 Votes
Where is code bit
0 Votes
Best programming languages to get a job fast ?
0 Votes
a phone or a laptop
0 Votes
Certificates
0 Votes
Regarding platform
1 Votes
How can A.I be used for social media manager ?
0 Votes
Inquiry for img code
0 Votes