# Author: James Tam # Version: May 28, 2022 # Learning objective: illustrating the difference between a list and the # reference to a list. num = 123 list1 = [1,2,3] list2 = list1 print("Before") print(list1) print(list2) print("\nAfter") list1[0] = 888 list2[2] = 777 print(list1) print(list2)