parameters: (action)
docstring: Puzzled, you are about to pick up the fish poop diamond when
      a bear bearing a load bearing sword walks in.
      Hey! That\'s my diamond! Where\'d you get that!?"
      It holds its paw out and looks at you.
docstring_summary: Puzzled, you are about to pick up the fish poop diamond when
      a bear bearing a load bearing sword walks in.
      Hey! That\'s my diamond! Where\'d you get that!?"
      It holds its paw out and looks at you.
docstring_tokens: Puzzled you are about to pick up the fish poop diamond when a bear bearing a load bearing sword walks in . Hey! That \ s my diamond! Where \ d you get that!? It holds its paw out and looks at you .
function: def bear_with_sword(action):
      """
      Puzzled, you are about to pick up the fish poop diamond when
      a bear bearing a load bearing sword walks in.
      Hey! That\'s my diamond! Where\'d you get that!?"
      It holds its paw out and looks at you.
      """
  
      if action == "give it":
          print "The bear swipes at your hand to grab the diamond and"
          print "rips your hand off in the process. It then looks at"
          print 'your bloody stump and says, "Oh crap, sorry about that."'
          print "It tries to put your hand back on, but you collapse."
          print "The last thing you see is the bear shrug and eat you."
          return 'death'
  
      elif action == "say no":
          print "The bear looks shocked. Nobody ever told a bear"
          print "with a broadsword 'no'. It asks,"
          print '"Is it because it\'s not a katana? I could go get one!"'
          print "It then runs off and now you notice a big iron gate."
          print '"Where the hell did that come from?" You say.'
          return 'big_iron_gate'
  
      else:
          print "The bear looks puzzled as to why you'd do that."
          return "bear_with_sword"
function_tokens: def bear_with_sword ( action ) : if action == "give it" : print "The bear swipes at your hand to grab the diamond and" print "rips your hand off in the process. It then looks at" print 'your bloody stump and says, "Oh crap, sorry about that."' print "It tries to put your hand back on, but you collapse." print "The last thing you see is the bear shrug and eat you." return 'death' elif action == "say no" : print "The bear looks shocked. Nobody ever told a bear" print "with a broadsword 'no'. It asks," print '"Is it because it\'s not a katana? I could go get one!"' print "It then runs off and now you notice a big iron gate." print '"Where the hell did that come from?" You say.' return 'big_iron_gate' else : print "The bear looks puzzled as to why you'd do that." return "bear_with_sword"