title: How to make a chatbot recognise answers in both lower and uppercase
body: <p>I am trying to make my python chat bot recognise the answers i have given to it in both upper and lowercase.
  Here is one of the questions in my code.
  (all of the code is written in the format you see below)</p>
  
  <pre><code> Q1 = input ("If you could have any pet what would it be?")
   if Q1 == "hamster":
       print ("I would love a pet hamster")
   elif Q1 in "dog,cat,rabbit,gerbil,fish,rat":
       print ("Not my first choice, but still good!")
   else:
       print ("Not bad.")
  </code></pre>
  
  <p>Thank you for your help in advance</p>