while True: want_instrusctions = input("Do you want to see the instructions? ").lower() # check the user says yes / no if want_instrusctions == "yes" or want_instrusctions == "y": print("you said yes") break elif want_instrusctions == "no" or want_instrusctions == "n": print("you said no") break else: print("please enter yes / no") print("we done")