#i am nearly there guys..........please loop at the infinite loop i am getting 
here..................PLEASE!!#ADRIAN

def exchange(cash_in):    euro=1    dollar=float(1.35)    base=50    if 
cash_in>base:        totalreturn=cash_in*dollar    else:        totalreturn=0   
 return totalreturn
amount=float()def main():    amount = float(raw_input('how much do you want to 
change:'))    while amount<50:        print 'Sorry, cannot convert an amount 
under €50 '    else:        total=exchange(amount)        print 'Your exchange 
comes to: ',total main()
 

                                          
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to