Write a program that asks the user to enter one’s name and age. Print out a message addressed to the user that tells the user the year in which he/she will turn 100 years old.

from datetime import date
dates = date.today()
name = input(“Enter your Name”)
age = int(input(“Enter your Age”))
diff = 100 – age
result_year = dates.year + diff
print(“You will turn 100 years old in “, result_year)

error: Content is protected !!