Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
a,b=0,1 a,b=b,a+b print(a,b)
python
variables
0 Votes
1 Answer
27th Jul 2019, 9:45 AM
Dhyey Badheka
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
I am new in python
3 Votes
Can we collab?
3 Votes
Calculator
0 Votes
Pawed by JAVA đđđđ»do think it's good to learn know or not
1 Votes
I'm new in js
0 Votes
Python
0 Votes
Audio trouble
0 Votes
Ethical Hacker
0 Votes
dictionary
0 Votes
AI courses
1 Votes