Uber Noobfag here, please help…
Here is the full code :- http://learnpythonthehardway.org/book/ex35.html
So this is the part of the code I am having trouble with:-
"""
def bear_room():
print "There is a bear here."
print "The bear has a bunch of honey."
print "The fat bear is in front of another door."
print "How are you going to move the bear?"
bear_moved = False
while True:
choice = raw_input("> ")
if choice == "take honey":
dead("The bear looks at you then slaps your face off.")
elif choice == "taunt bear" and not bear_moved:
print "The bear has moved from the door. You can go through it now."
bear_moved = True
elif choice == "taunt bear" and bear_moved:
dead("The bear gets pissed off and chews your leg off.")
elif choice == "open door" and bear_moved:
gold_room()
else:
print "I got no idea what that means."
"""
When I type "taunt bear", nothing happens… Why??
Wouldn't "and not" set bear_moved to True?
Any help would be greatly appreciated…
TLDR : Just explain the code snippet to me in English