what is the difference between the two ways of assigning the list? p=a vs. p=a[:] >>> a=range(5) >>> a [0, 1, 2, 3, 4] >>> p=a >>> p [0, 1, 2, 3, 4] >>> p=a[:] >>> p [0, 1, 2, 3, 4]