title: TypeError: string indices must be integers, not str 4
body: <p>I'm trying to make a code that simply puts an "o" in front of every consonant in any word given and I don't know where to go from here, I just get the error <code>"TypeError: string indices must be integers, not str"</code></p>
  
  <pre><code>k = list('b' + 'c' + 'd' + 'f' + 'g' + 'h' + 'j' + 'k' + 'l' + 'm' + 'n' + 'p' + 'q' + 'r' + 's' + 't' + 'v' + 'w' + 'x' + 'z')
  for bok in k:
      text = list(raw_input("Give a phrase to code: "))
      print bok["0"]
  </code></pre>