Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- name = input("what is your name: ")
- age = int(input("how old are you: "))
- year = (int(2017-age) + 100)
- print(name, "will turn 100 in the year" , year)
- number = int(input("enter another number"))
- while number > 0:
- print(name, "will turn 100 in the year" , year)
- number -= 1
Add Comment
Please, Sign In to add comment