I'd post another code, but I've already figured it out, thanks to help on
the mini calc program.
- Original Message -
From: "Alan G" <[EMAIL PROTECTED]>
To: "Nathan Pinno" <[EMAIL PROTECTED]>;
Sent: Sunday, July 31, 2005 2:03 AM
Subject: Re: [
> How do I make a program keep repeating until the user is done with
> it?
The math shapes example you just sent in with a syntax area does just
that.
What else do you need?
Alan g
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mail
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 Saturd
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