i tried to copy an array into another array multiple times in python like this
l = []
x = [3,1]
l.extend([x]*10)
print(l)
(l[1])[0] = (l[1])[0] - 1
print(l)
but the problem is that all the items in the array become linked is there a way to fix this?