Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- name = input('What is your name? ')
- age = input('How old will/did you turn this year? ')
- age = int(age)
- year_100 = 2017 + (100 - age)
- print('Hi, {}. You will turn 100 in {}'.format(name, year_100))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement