title: How to search for a specific character at the end of user input?
body: <p>As a new python user, I am trying to create something along the lines of a Magic 8 Ball. I want to make it search for  a ? at the end of the statement in the user input to determine if it is a question or not and make it respond accordingly. My current code is</p>
  
  <pre><code>import random
  x = 1
  while (x == 1):
      list_1 = ['Yes', 'No', 'Never', 'Possibly', 'Try again']
      response = raw_input('What is your question? (Press enter to exit) ')
      if (response == ''):
          break
      else:
          print random.choice(list_1)
  </code></pre>