A value as a condition : Int : Data Type PYTHON examples


PYTHON examples » Data Type » Int »

 

A value as a condition


 A value as a condition
 

money = int(raw_input("Tips:'? "))

if money:
    print "Ah, I am reminded of a table.  Right this way."
else:
    print "Please, sit.  It may be a while."


           
         
  



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo Data Type
» Int