fork download
  1. testlist = [0,1,2,3,4,5,6,7]
  2. def puredel(testlist):
  3. return testlist[2:]
  4.  
  5. print testlist
  6. print puredel(testlist)
  7. print testlist
Success #stdin #stdout 0.01s 7896KB
stdin
Standard input is empty
stdout
[0, 1, 2, 3, 4, 5, 6, 7]
[2, 3, 4, 5, 6, 7]
[0, 1, 2, 3, 4, 5, 6, 7]