What is the difference between the two arrays created with
array1 = [[0] * 2] * 3
and
array2 = [[0 for _ in range(2)] for _ in range(3)]
I'm asking because they display different behavior (such as, when I increment an integer in array1, it will increment every single value in that column).