I am just started to learn Python and I have a probem. I want to make a program that adds books to a list, but allows these 6 possible answers to a question (yes or no), and if someone doesn't answer, it repeats the question.
add = input("Do you want add book?")
while True:
add != ("no") or ("NO") or ("No") or ("yes") or ("Yes") or ("YES")
add = input("Do you want add book?")
if add == ("no") or ("NO") or ("No") or ("yes") or ("YES") or ("Yes"):
break
Thanks for help.