Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import datetime
- name = input("Name?")
- age = int(input("Age?"))
- repeat = int(input("Repeat?"))
- age100 = datetime.date.today().year-age+100
- print(repeat*"Hello {0}, you will turn 100 years in {1}.\n".format(name, age100))
Add Comment
Please, Sign In to add comment