title: TypeError: 'type' object is not subscriptable when indexing in to a dictionary
body: <p>I have multiple files that I need to load so I'm using a <code>dict</code> to shorten things. When I run I get a </p>
  
  <pre><code>TypeError: 'type' object is not subscriptable 
  </code></pre>
  
  <p>Error. How can I get this to work?</p>
  
  <pre><code>m1 = pygame.image.load(dict[1])
  m2 = pygame.image.load(dict[2])
  m3 = pygame.image.load(dict[3])
  dict = {1: "walk1.png", 2: "walk2.png", 3: "walk3.png"}
  playerxy = (375,130)
  window.blit(m1, (playerxy))
  </code></pre>