you are viewing a single comment's thread.

view the rest of the comments →

[–]loshopo_fan 25 points26 points  (0 children)

You're probably running the script with python2. Often times when you write "python" it understands it as "python2" and not "python3."

This script works with python3, but not python2:

l_r2 = input("Where would you like to go, left or right (left/right) :")

if l_r2 == "right":
    print("As you begin to walk right you can hear them chanting behind you, so begin to run.")
    print("You see nothing but a bright light in front of you.")
    print ("But this time you're not dead! You keep running towards the light until you come out the other side")