Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /usr/bin/python
- # Created by Jesse RIddle
- # May 10, 2011
- def main():
- age = funAge()
- month = funMonth()
- month = raw(month)
- weight = funWeight()
- def funAge():
- age = input ("enter age: ")
- if age <= 25:
- print("Congratulations, the age is 25 or less")
- else:
- print("fail user is failing")
- return age
- def funMonth():
- month = raw_input("Enter birth month guess: ")
- if month is april:
- print("Congrats!")
- else:
- print("...")
- return month
- def funWeight():
- weight = input ("Enter weight guess: ")
- if weight >= 128:
- print("Congratulations, the weight is 128 or more")
- else:
- print("Fail! you would be terrible at being a boyfriend, have fun on that couch.")
- return weight
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement