#functions go here def yes_no(question): """Makes a yes or no question""" while True: response = input(question).lower() # check what the user answers yes / no / y / n if response == "yes" or response == "y": return "yes" elif response == "no" or response == "n": return "no" else: print("please enter yes/no") def instructions(): """Prints instructions""" print(""" *** Instructions **** Beat me in rock paper scissors to win! """) #Main routine #ask the user if they want instruction (check they say yes/no) want_instructions = input("Do you want to see the instructions ").lower() # Display the instructions if the user wants to see them if want_instructions == "yes": instructions() print() print("Program continues")