from setuptools.msvc import PLAT_SPEC_TO_RUNTIME while True: want_instructions =input("Do you want to see the instructions? ").lower() # check the user says yes / no if want_instructions == "yes": print("you said yes") elif want_instructions == "no": print("you said no") else: print("please enter yes / no") print["we done"]