how to finish a while loop...
Paul Rubin
http
Tue Feb 19 20:13:13 EST 2008
icarus <rsarpi at gmail.com> writes:
> For some reason, it behaves as infinite loop although I changed its
> condition. Please tell me what I'm doing wrong. Thanks in advance.
It worked when I tried it:
>>> ## working on region in file /usr/tmp/python-13922e2f...
Please enter an integer: 8
Please enter the second integer: 3
The result is 2
Do you want to try again (yes or no)? yes
Please enter an integer: 8
Please enter the second integer: 2
The result is 4
Do you want to try again (yes or no)? no
Good bye, you don't want to continue
More information about the Python-list
mailing list