Goto

Collaborating Authors

 efficient code and optimization technique


Efficient Code and Optimization techniques for Python

#artificialintelligence

In python, Enumerate is used to write efficient python code. Many a times we need to keep a count of iterations. Python's enumerate takes a collection i.e iterable, adds counter to it and returns it as an enumerate object