Corsi
Corsi
Compilatore di codice
Compilatore di codice
Discuti
Prezzi
Squadre
Accedi
Registrati
Menu
Discussioni Q&A
Cerca
Cerca
Fai una domanda
Fai una domanda
a=[[0]*2]*2 a[0][0]=5 out: [[5,0],[5,0]]
list
multiply
python
6 Voti
5 Risposte
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 Voto
4 Risposte
11th Apr 2021, 3:40 PM
ice
Fai una domanda
Fai una domanda
Fai una domanda
Fai una domanda
Popolare oggi
Debugging issue?
0 Votes
Text editor
0 Votes
how to view only application
0 Votes
I’m really confused
0 Votes
Why do I suck at C# it‘s Hard but i know C# is Hard but tooooo much😭
0 Votes
Stream
1 Votes
What is Typecasting?
1 Votes
Subscription
0 Votes
I need advice
0 Votes
How to zoom in and out in sololearn for testing media quarries in css
0 Votes