Cursussen
Cursussen
Code Compiler
Code Compiler
Discussiëren
Prijzen
Teams
Inloggen
Registreren
Menu
Q&A Discussies
Zoeken
Zoeken
Stel een vraag
Stel een vraag
a=[[0]*2]*2 a[0][0]=5 out: [[5,0],[5,0]]
list
multiply
python
6 Stemmen
5 Antwoorden
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 Stem
4 Antwoorden
11th Apr 2021, 3:40 PM
ice
Stel een vraag
Stel een vraag
Stel een vraag
Stel een vraag
Populair vandaag
debate which is better
6 Votes
Im confused was that seriously it
0 Votes
Text editor
0 Votes
Debugging issue?
0 Votes
Is anyone else having this issue?
2 Votes
Which one should I start with to learn python. The developer path or both seperate beginner and intermediate python?
0 Votes
Arduino
2 Votes
how to view only application
0 Votes
Scraping
0 Votes