title: Trying to reverse letters in a string but get error 'str' object does not support item assignment
body: <p>I'm trying to reverse letters in a string, so mathematics would become 'scitamehtam'.</p>
  <pre><code>    word = input(&quot;Enter a word: &quot;)
      steps = 0
      while steps &lt; (len(word)):
          index = -1
          count = 1
          newword=word[index] = word[count]
          steps = steps + 1
          index = index - 1
          count = count + 1
      print(newword) 
  </code></pre>
  <p>I get an error saying 'str' object does not support item assignment. How do I change a string without getting this error.</p>