Basically, I want my throw
raw input variable to be skipped so that it can still be accessed and referred to later on, but doesn't need a user input to continue, so what happens is if you type "throw brick" within 5 seconds, it will bring you to the outcome print "good job!"
throw = raw_input()
throw_command = ["throw brick"]
import time
me.sleep(5)
if throw in throw_command:
print "good job!"
if throw not in throw_command:
print "GAME OVER"
restart
I know such thing as a goto
or jump
don't exist in such a structure-based code. So, if anyone could happen to provide an alternative, your assistance would be much appreciated.