'Image Recongition with pyautogui: How do I search for multiple areas at once?

I'm using python to search for images and I can do that with one area but how can I adapt this code for multiple areas?

found_image = pyautogui.locateOnScreen(image)
if found_image !=None:
    pyautogui.click(found_image)


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source