New course!
Every coder should learn
Generative AI!
Try a free lesson
Courses
Courses
Code Compiler
Code Compiler
Discuss
Get Pro
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
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 Vote
4 Answers
11th Apr 2021, 3:40 PM
ice
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
Bash
0 Votes
Python comparison question - HELP!!
0 Votes
Why exception is not handled
1 Votes
Links of cmy codes
5 Votes
Please help
0 Votes
post incrementing and decrementing
0 Votes
Link
6 Votes
Tips for first app
1 Votes
What's the problem in the code.why it showing failed to fetch.tried all ways.please help.
0 Votes
Ruby
2 Votes