Advertisement
Guest User

Untitled

a guest
Aug 16th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. #! /usr/bin/python
  2. # Created by Jesse RIddle
  3. # May 10, 2011
  4.  
  5. def main():
  6. age = funAge()
  7. month = funMonth()
  8. month = raw(month)
  9. weight = funWeight()
  10.  
  11. def funAge():
  12. age = input ("enter age: ")
  13. if age <= 25:
  14. print("Congratulations, the age is 25 or less")
  15. else:
  16. print("fail user is failing")
  17. return age
  18.  
  19. def funMonth():
  20. month = raw_input("Enter birth month guess: ")
  21. if month is april:
  22. print("Congrats!")
  23. else:
  24. print("...")
  25. return month
  26.  
  27. def funWeight():
  28. weight = input ("Enter weight guess: ")
  29. if weight >= 128:
  30. print("Congratulations, the weight is 128 or more")
  31. else:
  32. print("Fail! you would be terrible at being a boyfriend, have fun on that couch.")
  33. return weight
  34. main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement