Guest User

Untitled

a guest
Jan 20th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. from datetime import date
  2. name = input("What is your name?: ")
  3. age = int(input("How old are you?: "))
  4. john_oliver = date.today().year
  5. hundred_year = john_oliver + 100 - age
  6. num = int(input("Pick a number!: "))
  7. print(num * "Your name is {} and you will turn 100 in {}\n".format(name, hundred_year))
Add Comment
Please, Sign In to add comment