Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import datetime
- name = raw_input('Hello whats your name: ')
- age = int(raw_input("Whats your age: "))
- times = int(raw_input("How many times print: "))
- currentYear =datetime.datetime.now().year
- for i in range(0,times):
- print(name + " is " + str(age) + " years old! and will be 100 years old in " + str(100 - age + currentYear))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement