title: Python - How to use string in index
body: <p>Was wondering how you would use a string that is equal to an interger as the integer in an index.</p>
  
  <pre><code>word = input("Enter word:")
  print(word)
  letterNum = int(len(word)) #determines amount of letters in word
  print(letterNum)
  lastLetter = word[letterNum] #supposed to figure out the last letter in a word
  print(lastLetter)
  </code></pre>