Hi Steve, In your conditionals:
… while message != 'q' or 'Q'/message != “q” or message != “Q”: … Python will only match the first variable. A better approach (which might be a good solution) would be capturing the exit commands in a list like this: JL’s code: while message not in [“q”, “Q”]: # blah, blah, your code… # code end Effectively, we’re testing if the command is a member of our exit commands list, and if it is, we’ll fall off the loop. Try this solution and see if it works for you. Cheers, Joseph
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor