Courses
Log inStart Learning AI
Courses
Log inStart Learning AI

Q&A Discussions

a=[[0]*2]*2 a[0][0]=5 out: [[5,0],[5,0]]
listmultiplypython
6 Votes
5 Answers
5th Sep 2021, 12:39 PM
Arsalan [Inactive]
Arsalan [Inactive] - avatar
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
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