"Johnson Tran" <aznj...@me.com> wrote
import random dice = ... while True: ... elif choice == "quit": True = 0 raw_input()
Do not do this! True is supposed to be a fixed, constant boolean value. In fact in Python v3 you will get an error if you try it.
Instead use break to exit from the loop.
else: print "Error -- Try again\n"
HTH -- Alan Gauld Author of the Learn to Program web site http://www.alan-g.me.uk/ _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor