Sep-02-2019, 04:17 PM
I am trying to create a little option for my script and found something online but it is not working:
def path() : print ("1.Turn left") print ("2. Turn right") path = str(input("Which way do you choose to turn? ")) if path == "left": left1() elif path == "right": right1() else: path() def right() : print ("you went right...") def left() : print ("you went left...")can anyone help me out?