Here var gets altered:
var = [0] array = [var] array[0].append(0) print(var)
But here it does not:
var = 0 array = [