On Sun, Mar 31, 2013 at 11:49 AM, Soliman, Yasmin <ysoli...@uncc.edu> wrote:
> Hello everyone. How can I get a program to stop only when the user enters 
> 'Quit'?

You would need an "infinite" loop in your program, where you take user
input. Check if the input entered was 'Quit', and only exit/break out
of your loop then, else continue doing something else.

HTH,
-Amit.


--
http://amitsaha.github.com/
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to