#When will user be 100 #What is your name? #How old are you? #Hey USER you will be 100 in YEAR import time user = None age = None birthday = None user = input("What is your name? ") age = input("How old are you? ") birthday = input("Have you had your birthday yet this year? (y/n) ") if birthday == "y" or birthday == "n": try: age = int(age) if birthday == "n": age += 1 print("Hey ", user, "you will be 100 in the year ", 100 - age + time.gmtime().tm_year) except: print("Please use only Arabic numerals for your age!!!") else: print("Please only enter a 'y' or an 'n'")