Instantly share code, notes, and snippets.
x = [1,2,3] y = x x[0] = 10 print(x, y)
Output [10, 2, 3] [10, 2, 3]