def mystery(L):
  L[0] = L[1] + 3
  M = L
  M[0] = 1
  L = [1,2,3]
  #Remember the previous line only
  #changes the variables L that is local.
L=[2,4,6]
mystery(L)
print(L)