(Help) TypeError: 'str' object cannot be interpreted as an integer
<pre><code>    Traceback (most recent call last):
  File "&lt;pyshell#0&gt;", line 1, in &lt;module&gt;
    get_odd_palindrome_at('racecar', 3)
  File "C:\Users\musar\Documents\University\Courses\Python\Assignment 2\palindromes.py", line 48, in get_odd_palindrome_at
    for i in range(string[index:]):
TypeError: 'str' object cannot be interpreted as an integer
</code></pre>

<hr>

<p>I want to use the value index refers to but how do I do that?</p>