title: Python Replace Character In List
body: <p>I have a Python list that looks like the below:</p>
  
  <pre><code>list = ['|wwwwwwwwadawwwwwwwwi', '|oooooooocFcooooooooi']
  </code></pre>
  
  <p>I access the letter in the index I want by doing this:</p>
  
  <pre><code>list[y][x]
  </code></pre>
  
  <p>For example, <code>list[1][10]</code> returns <code>F</code>.</p>
  
  <p>I would like to replace <code>F</code> with a value. Thus changing the string in the list.</p>
  
  <p>I have tried <code>list[y][x] = 'o'</code> but it throws the error:</p>
  
  <pre><code>    self.map[y][x] = 'o'
  TypeError: 'str' object does not support item assignment
  </code></pre>
  
  <p>Can anybody help me out? Thanks.</p>