
February 21st, 2013, 12:52 AM
|
|
Registered User
|
|
Join Date: Feb 2013
Posts: 2
Time spent in forums: 16 m 9 sec
Reputation Power: 0
|
|
|
What is the error?
Code:
while True:
next = raw_input("> ")
if next == "take honey":
dead("The bears looks at you and slaps your face off.")
elif next == "taunt bear" and not bear_moved:
print "The bear has moved from the door. You can go through it now."
bear_moved = True
elif next == "taunt bear" and bear_moved:
dead("The bear chews your leg off."
yellow Code:
Original
- yellow Code |
|
|
|
elif next == "open door" and bear_moved:
gold_room()
else:
print "I got no idea what it means"
What is the syntax error in the highlighted line???
|