Eric V. Smith added the comment:
This isn't a bug. All of your nested lists are the same. See for example:
https://stackoverflow.com/questions/44195396/initializing-an-m-x-n-array-of-0s-in-python
--
components: -Regular Expressions
nosy: +eric.smith
resolution: -> not a bug
stage:
New submission from void abuser :
So basically the bug that I found was about adding a number to a sub-list.
If you declare li1 as li1=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]] in the code
below then the code is working as it should do.
Although if you create the list called li1 with the same w