Usage of enumerate() with python list

enumerate() is a useful function to make an iterator when used with a for loop. Here we explain different ways of using
enumerate() using a python list. enumerate() acts as an iterator yielding a tuple (index,element)when applied on a list.

Continue reading “Usage of enumerate() with python list”