Advertisement
Guest User

Untitled

a guest
Apr 18th, 2015
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. # Find out if I have money left over
  2.  
  3. def monthly_bills(car):
  4. if car > 150:
  5. return "You have no money left,"
  6. else:
  7. return "That sucks."
  8. def more_bills(phone):
  9. if phone <= 40:
  10. return "Looking good on the phone."
  11. else:
  12. return "Stop talking on the phone!"
  13.  
  14. print(more_bills(20) + " " + monthly_bills(100))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement