# Author: James Tam # Version: March 6, 2010 # A revised version that performs an actual list-to-list copy. list1 = [1,2,3,4] list2 = [] # Sucuessively copy the elements from one list to another. for i in range (0, 4, 1): list2.append(list1[i]) # The change is only made one list in order to demonstrate that # there exists two seperate lists. print list1, list2 list1[1] = 99 print list1, list2