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