i'm new to python and i'm trying to ask the user if they want to go again for my age calculator tool. Code:
while True:
import datetime
birth_year = int(input("What year were you born? "))
current_year = datetime.datetime.now().year
age = current_year - birth_year
print(f"You are {age} years old now.")
input()
choice = input("Do you want to go again? (yes or no) ")
if "choice" == yes:
print("enjoy")
elif "choice" == no:
print ("Ok, quitting now")
quit()
else:
print("i'll assume that means yes")