Advertisement
killerbng

min_age.py

Mar 19th, 2015
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. #Find out the min age you can date :)
  2. def find_age(age):
  3.     a = (age / 2) + 7
  4.     return "The minimium age you can date is " + str(a) + "yo"
  5.  
  6. #Example
  7. #print(str(find_age(31)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement