title: Checking input against list elements in Python
body: <p>I'm trying to make a simple program which first checks to see if a user's input matches a list and then will check what element of the list that input matches and gives a response based on the input. The part I'm having trouble with is, coming up with a way to see what element of the list the input matches, so that I can give a certain response based off of that input. I really would appreciate any help I can get with this problem.</p>
  
  <p>Thanks, Nova</p>
  
  <p>This is my current code that I have so far. Under the first if statement is where I would like to put the check for what element of the list matches the input.</p>
  
  <pre><code>Y = ["How", "Hi", "Hey", "How are you doing", "How's it going", "How", "Hello"]
  I = str(input("Start Conversation"))
  
  if I in Y:
      print("Working");
  
  elif I not in Y:
      print("I don't Understand");
  </code></pre>