# Header print("==== Age Calculator ====") # Ask user to enter their birth year birth_year = input("Enter your birth year (e.g. 1990): ") # Calculate the user's age current_year = 2023 age = current_year - int(birth_year) # Print the user's age print("You are " + str(age) + " years old.") # Footer print("Thank you for using the age calculator!")