title: Comprehensive lists; how to use the acquired information?
body: <p>I'm using pyautogui to detect images. In this case, pictures of the numbers 1 - 4. I'm not that familiar with comprehensive lists and was wondering if it is possible to see which image of the four got detected. I want to start process 1 if the picture is one.png, process 2 if the picture is two.png and so forth.</p>
  <pre><code>number = [pyautogui.locateOnScreen(f'{nr}.png', confidence = 0.95)
                  for nr in ('one', 'two', 'three', 'four')
              ]
  </code></pre>