title: Variable Variables in Python
body: <p>I have a list of <code>n</code> strings. For example, <code>strings = ('path1','path2',path3')</code></p>
  
  <p>I want to create <code>n</code> variables that are equal to functions on these strings. For example:</p>
  
  <pre><code>s1=pygame.mixer.Sound('path1')
  s2=pygame.mixer.Sound('path2')
  s3=pygame.mixer.Sound('path3')`
  </code></pre>
  
  <p>I've looked this up a few times before and answers always seem to refer to dictionaries. I am not too familiar with dictionaries although I know their basic function. I don't know how I would use a dictionary to accomplish this. </p>