title: How to search for multiple phrases inside a list in Python 2
body: <p>I am making a sample game. It is a game where a player types something and depending on what they type, something new happens. This is all if-else statements, but I cannot figure out how to search for multiple words inside a phrase instead of making multiple elif statements for the same outcome.</p>
  
  <pre><code>def room_1(key):
  
  Key = "False"
  
  if key == "True":
      room1_choice = raw_input("Enter Command &gt; ")
  
      if "door" in room1_choice:
          print "\nThe door lock clicks, and opens...\n"
          first_hall()
  
      elif "exit" in room1_choice:
          print "\nThe door lock clicks, and opens...\n"
          first_hall()
  
      elif "leave" in room1_choice:
          print "\nThe door lock clicks, and opens...\n"
          first_hall()
  
      elif "lamp" in room1_choice:
          print "\nNot sure what you want to do involving a key and a lamp...\n"
          room_1("True")
  
      else:
          print "\nUnknown command. This is not that hard...\n"
          room_1("True")
  
  elif key == "False":
      room1_choice = raw_input("Enter Command &gt; ")
  
      suicide = ['suicide', 'hotline']
      if "tape" in room1_choice:
          print "\nAs you remove the tape, the lamp falls on the ground."
          print "The bottom of the lamp breaks off revealing a key inside.\n"
          tape_removed("first")
  
      elif "shoot" in room1_choice:
          print "\nNo firearm located. That is dangerous...\n"
          room_1(Key)
  
      elif "kick" in room1_choice:
          print "\nYou attempt using violence, violence is never the answer.\n"
          room_1(Key)
  
      elif "lamp" in room1_choice:
          print "\nThe lamp is held to the wall using tape...\n"
          room_1(Key)
  
      elif "door" in room1_choice:
          print "\nThe door is locked.\n"
          room_1(Key)
  
      elif "your" in room1_choice:
          print "\nSuicide is never the answer.\n"
          room_1(Key)
  
      elif any(suicide in s for s in room1_choice):
          print "\nSuicide is never the answer.\n"
          room_1(Key)
  
      elif "kill" in room1_choice:
          print "\nNo! Killing is bad...\n"
          room_1(Key)
  
      else:
          print "\nUnknown command. Try something else.\n"
          room_1(Key)
  
  elif key == "ignore":
      ignoring_key()
  </code></pre>
  
  <p><em>At line 8 and and 12, I would like to combine these two into one single if statement. I attempted using the "any" function but it still does not work. Thank you so much!</em></p>