Putting items at a specific index index in a table using Python, seemingly inconsistent

When we use
lstB = [[0] * 5] * 3
Python store each sub-list at same address memory (same object), so when we set a value, we set all sub-list (Python lists are mutable)
image

Test with 2 methods

4 Likes