Re: [Tutor] How do I make a Python program keep repeating?

2005-07-31 Thread Nathan Pinno
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: [

Re: [Tutor] How do I make a Python program keep repeating?

2005-07-31 Thread Alan G
> 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

Re: [Tutor] How do I make a Python program keep repeating?

2005-07-30 Thread python-tutor
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

[Tutor] How do I make a Python program keep repeating?

2005-07-30 Thread Nathan Pinno
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