0

what the defference between A=n*[m*[0]] And A=[m*[0]for i in range(n)] ?

help

13th Oct 2017, 12:01 PM
Ahmed bentabet
Ahmed bentabet - avatar
3 Answers
0
no not same resultat
13th Oct 2017, 12:19 PM
Ahmed bentabet
Ahmed bentabet - avatar
- 1
write the code in code playground.. and see... wont be a difference... both way..same result
13th Oct 2017, 12:16 PM
sayan chandra
sayan chandra - avatar
- 1
yes its same brother.. why dont you see yourself
13th Oct 2017, 12:22 PM
sayan chandra
sayan chandra - avatar