> i did it. Cool; I'm glad to see that you could do it.
[code cut] Yes, it's mostly an exercise for you to get comfortable using multiple statements. Personally, I think your instructor should have made the first assignment something dealing with expressions rather than print statements, but oh well. As a meta issue: in the future, please take care not to post homework solutions like this on the python-tutor mailing list. The list is archived for convenience, http://mail.python.org/pipermail/tutor/ and Google is very effective in finding information. Good luck to you. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor