I'm trying to write a piece of code with that repeats the question until the correct answer is given, with a few different responses for likely answers. This is what I have so far, but after it responds to the input given, the program moves on. I can't figure out how to do this with a while loop since it ends with a specific answer and not with else.
answer = input("What is your favorite eldest daughter's name? ").lower()
if answer == "a" or answer == "al":
print("Of course, we all knew that")
elif answer == "c" or answer == "chris":
print("""Oh she must be standing right there.
But that\'s not it, try again.""")
elif answer == "e" or answer == "ed":
print("Not even the right gender. Try again.")
elif answer == "n" or answer == "nic":
print("Only biological children please.")
else:
print("I'm sorry. Only children. Were you thinking of the dogs?")