Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
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
overloading operators << >>
1 Votes
how does this code function?
2 Votes
.
1 Votes
Default constructor and default assignment operator
0 Votes
My question is about python?
0 Votes
.
0 Votes
i need to learn Coding
0 Votes
Issue in code
0 Votes
Quiz duel
0 Votes
Web
0 Votes