Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- name = input("Enter your name: ")
- print ("Your name is " + str(name) + ".")
- age = input("Enter your age: ")
- age = int(age)
- hundredage = (100 - age)
- year = (2017 + int(hundredage))
- print ("You will turn 100 in " + str(year) + ".")
- times = input("Enter another number: ")
- times = int(times)
- print (times * ("You will turn 100 in " + str(year) + "." + "\n"))
Add Comment
Please, Sign In to add comment