Use enumerate over manual indexing when looping

by , under python

Normally I use my own indexing when looping through list (or any sequence type) as in other languages. In python you can use enumerate function for the same.

Gist: https://gist.github.com/rajaramanathan/37bc9c33eca6b7bb63b2

Leave a Reply