title: How do I make this character counter be insensitive to case?
body: <p>I wrote this little code to count occurrences of words in a text:</p>
  
  <pre><code>string=input("Paste text here: ")
  word=input("Type word to count: ")
  string.count(word)
  x=string.count(word)
  print (x)
  </code></pre>
  
  <p>The problem is that it is case sensitive. How can I make it be case insensitive?</p>