t295.py 113 B

12345678
  1. # Test that a clone of a list really is distinct
  2. l = [1,2,3]
  3. print l
  4. m = list(l)
  5. print m
  6. m.pop()
  7. print l
  8. print m