Quick thing. Please look at the following small program: ################# d1 = {1 : 'one'} d2 = d1 d2[2] = 'two' print(d1) print(d2) #################
Predict what this prints out. Write your prediction on a piece of paper. Then run the program. Does it match what you wrote? If not, start asking questions. If so, then I'm puzzled. :P The reason I ask is because of the comment: > But chutes and ladders are dictionaries that should remain > unchanged, for the purpose of future games. which has several meanings that I did not anticipate. So I need to make sure you're ok on all those things. :P _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor