title: Python: Simplify variable declaration (with a for loop ?)
body: <p>I'm new to python and I have declared some variables in my code but they are almost similar, I would like to know if it is possible to simplify this with a <code>for</code> loop or the like so as not to have 10 lines of declaration?</p>
  <pre><code>Left_10 = PhotoImage(file = 'image_10.jpg')
  Left_9 = PhotoImage(file = 'image_9.jpg')
  Left_8 = PhotoImage(file = 'image_8.jpg')
  Left_7 = PhotoImage(file = 'image_7.jpg')
  Left_6 = PhotoImage(file = 'image_6.jpg')
  Left_5 = PhotoImage(file = 'image_5.jpg')
  Left_4 = PhotoImage(file = 'image_4.jpg')
  Left_3 = PhotoImage(file = 'image_3.jpg')
  Left_2 = PhotoImage(file = 'image_2.jpg')
  Left_1 = PhotoImage(file = 'image_1.jpg')
  </code></pre>
  <p>Thanks for your help</p>