Guest User

Untitled

a guest
Feb 17th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. import datetime
  2. name = input("Name?")
  3. age = int(input("Age?"))
  4. repeat = int(input("Repeat?"))
  5. age100 = datetime.date.today().year-age+100
  6. print(repeat*"Hello {0}, you will turn 100 years in {1}.\n".format(name, age100))
Add Comment
Please, Sign In to add comment