You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#Create a program that asks the user to enter their name and their age. Print out a message addressed to them that tells them the year that they will turn 100 years old.
import datetime
name = input("What is your name:")
age = int(input("How old are you:"))
hundredYearsOld = str(datetime.date.today().year - age + 100)
print("Hi " + name + ", you will 100 years old in " + hundredYearsOld)