Python class: enumerate [add counter to an iterable]
enumerate() adds a counter to an iterable. The iterable can be a string, list, tuple, or dictionary. enumerate() returns an “enumerate” object, that produces an index/serial and value pair while iterating over it. This way we can track the position of the item and value at the same time.