+ 4

Can anyone explain why this nested list behaving weird?

Even when I insert something at a specific location it inserts it inside every other list at the same location. I think it's something got to do with multiplication operator (*). https://code.sololearn.com/cuNb0hNAdMl0/?ref=app

23rd Dec 2018, 2:52 AM
OR!ON 🛡️
OR!ON 🛡️ - avatar
4 Réponses
+ 7
https://stackoverflow.com/questions/240178/list-of-lists-changes-reflected-across-sublists-unexpectedly
23rd Dec 2018, 3:20 AM
Diego
Diego - avatar
0
I thing nested if and else if methods are logically same . In nested if we use enter button ,😁😁
31st Dec 2018, 6:01 AM
Shameer KM
Shameer KM - avatar
0
Am I correct?
31st Dec 2018, 6:01 AM
Shameer KM
Shameer KM - avatar
0
Shameer KM Please ask your question in a separate post.
31st Dec 2018, 6:05 AM
Diego
Diego - avatar