Courses
Log in
Start Learning AI
Courses
Log in
Start Learning AI
Q&A Discussions
Search
Search
Ask a question
Ask a question
a=[[0]*2]*2 a[0][0]=5 out: [[5,0],[5,0]]
list
multiply
python
6 Votes
5 Answers
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 Vote
4 Answers
11th Apr 2021, 3:40 PM
ice
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
Sarang
2 Votes
Buggy app today
1 Votes
How many program that you've made even a smaal project are good?
0 Votes
What kind of questions do companies ask in Data Analyst interviews (including Python, SQL, Power BI, and Excel)?
1 Votes
??
1 Votes
Programming
0 Votes
Code coach isn't awarding xp
0 Votes
Temperature converter( celsius to fahrenheit)
0 Votes
Alguien me podrĂa explicar sobre para que sirve cada tipo de lenguaje de programaciĂłn?
0 Votes
Help me
1 Votes