Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from datetime import date
- name = input("What is your name?: ")
- age = int(input("How old are you?: "))
- john_oliver = date.today().year
- hundred_year = john_oliver + 100 - age
- num = int(input("Pick a number!: "))
- print(num * "Your name is {} and you will turn 100 in {}\n".format(name, hundred_year))
Add Comment
Please, Sign In to add comment