title: How to fix a : TypeError 'tuple' object does not support item assignment
body: <p>The following fragment of code from this tutorial: <a href="http://www.raywenderlich.com/24252/beginning-game-programming-for-teens-with-python" rel="noreferrer">http://www.raywenderlich.com/24252/beginning-game-programming-for-teens-with-python</a> </p>
  
  <pre><code>for badguy in badguys:
          if badguy[0]&lt;-64:
              badguys.pop(index)
          badguy[0]-=7
          index+=1
      for badguy in badguys:
          screen.blit(badguyimg, badguy)
  </code></pre>
  
  <p>is giving me a : </p>
  
  <blockquote>
    <p>TypeError: 'tuple' object does not support item assignment</p>
  </blockquote>
  
  <p>I understand that this could be becuse <code>badguy</code> is a tuple. This means it is immutable(you can not change its values)  Ive tried the following:</p>
  
  <pre><code>t= list(badguy)
          t[0]= t[0]-7
          i+=1
  </code></pre>
  
  <p>I converted the tuple to a list so we can minus 7. But in the game nothing happens.</p>
  
  <p>Does any one know what I could do?</p>
  
  <p>Thanks.</p>