# Press Shift+F10 to execute it or replace it with your code. # Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings. print("Welcome, user, to Rock Paper Scissors, or RPS for short.") #functions go here def yes_no(question): """Checks user response to a question is yes / no (y/n), returns 'yes' or 'no' """ while True: response = input(question).lower() # check if the user says yes or no if response == "yes" or response == "y": return "yes" elif response == "no" or response == "n": return "no" else: print("nah twan u tweakin frfr (please enter yes/no) ") # Main Routine #testing loop.. while True: want_instructions = yes_no("Would you like to read the rules? ") print(f"you chose {want_instructions}") print("BIOMETRIC SCANNING COMPLETE") print("PROCEEDING...")