how is enumerate working here … what will happen if we dint use it or add it there
The use of enumerate in the for loop
Hey @sankalparora5, enumerate provides us with the serial number ‘i’, and article itself. Since we need to store this inspirational images, all images must be assign different name, so we used enumerate, so it will assign, s.No. to each image, and we could easily store them, like inspiration1.jpg, inspiration2.jpg. etc
Hope this cleared your doubt.
Plz mark the doubt as resolved in my doubts section.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.