How does the user indicate that they are done with the program?

One solution is to ask at the end of each iteration if they want to repeat.

Psuedocode:

keep_going=True
while(keep_going)
   Run your program stuff
   keep_going = get_user_response("Do you want to run again?")


--Todd



On Saturday 30 July 2005 08:10 pm, Nathan Pinno wrote:
> Hi all,
>
> How do I make a program keep repeating until the user is done with it?
>
> Thanks,
> Nathan
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to