[Tutor] infinite loop

Wayne Werner waynejwerner at gmail.com
Thu Nov 17 22:36:35 CET 2011


On Thu, Nov 17, 2011 at 3:29 PM, ADRIAN KELLY <kellyadrian at hotmail.com>wrote:

> def main():
>     amount = float(raw_input('how much do you want to change:'))
>     while amount<50:
>         print 'Sorry, cannot convert an amount under €50 '
>
>
When do you reassign amount?

HTH,
Wayne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20111117/2467e418/attachment-0001.html>


More information about the Tutor mailing list