Advertisement
Guest User

Untitled

a guest
Feb 26th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. name = input('What is your name? ')
  2. age = input('How old will/did you turn this year? ')
  3. age = int(age)
  4. year_100 = 2017 + (100 - age)
  5. print('Hi, {}. You will turn 100 in {}'.format(name, year_100))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement