Mar-06-2019, 05:21 PM
I am making a text based game in python 3.7.2 but if users type somtheing wrong I want it to re run a line and let them try again but it doesn't work.I have been cracking my head and I can't figure it out.Here is the script so far:
print("Hello I hpoe that everything is working.If you see this everything probably works.Type MENU to see the options.") options = input() if options == 'MENU' or options == 'Menu' or options == 'menu': print("START NOTE-TYPE TO INTERACT") game_start = input() if game_start == 'START' or 'START' or 'Start': print("Ok Let's begin with the game.") print("LOADING STARTING IN 7 SECONDS") import time time.sleep(7) for k in range(1000): print(k) print('LOADED') print("You are on a field and you see a mansion in the distance.You can't remember anything.There is somtheing shiny on the floor.")