• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu

Q&A Discussions

who can tell me what happens in this code?
a[0][0]=5a=[[0]*2]*2b[0][0]=5b=[[0,0],[0,0]]print(a,b)
1 Vote
4 Answers
11th Apr 2021, 3:40 PM
ice
ice - avatar
Hot today
HTML
1 Votes
Functions in python
0 Votes
For Mobile app
0 Votes
What’s the One Thing That Helped You Learn Coding Faster?
1 Votes
I need advice
0 Votes
Answer please
0 Votes
I need advice
0 Votes
this query always result to be incorrect from Sorting Data lesson
1 Votes
Why this code fails even without data race
0 Votes
Paint costs
1 Votes