Pls can anyone modify this script for me. So that the users can input "roll" more than once
command = "" started = True win_number = 6 while command != quit: import random command = input("> ").lower() if command == "start": if started: print ("hey! the game is already on") else: started = True print ("game has started") elif command == "stop": if not started: print ("hey! the game is off") else: started = False print("game has stopped") elif command == "roll": if not started: print ("hey! start the game first") else: started = False print (random.randint(0, 6)) elif command == "help": print (""" start - start roll - roll lucky numbers stop - stop quit - end game """)