New course! Every coder should learn Generative AI!
Try a free lesson0
What does enumerate function do
4 Answers
+ 6
a = enumerate([1,72,30,40,10]
print(list(a))
>>>>[(0,1),(1,72),(2,30),(3,40),(4,10)]
+ 6
Yes
0
Does it give the serial number to the elements?
Is that what you wanna say?
0
Thanks for helping