This is my code I am a new to Python, it repeats even if you Type "Y" and it doesn't exit the program when typing "N". Thanks in Advance, forgive my indentation errors if I type in Y it just repeats the code/ question when using Break and when typing in N the code ends but the program doesn't exit:
while True:
answer = input("Would You Like To Play?")
if answer == "Y":
print("good luck")
elif answer == "N":
exit()