For each loop with indexpython1 min readphotoArr is an array of photos for index, photo in enumerate(photoArr): print(photo)