lst = ['a','b','c']

for number,item in enumerate(lst):
    print number
    print item

"""
Explanation: enumerate()
In this lecture we will learn about an extremely useful built-in function: enumerate(). Enumerate allows you to keep a count as you iterate through an object. It does this by returning a tuple in the form (count,element). The function itself is equivalent to:
def enumerate(sequence, start=0):
    n = start
    for elem in sequence:
        yield n, elem
        n += 1

Example
End of explanation
"""


for count,item in enumerate(lst):
    if count >= 2:
        break
    else:
        print item

"""
Explanation: enumerate() becomes particularly useful when you have a case where you need to have some sort of tracker. For example:
End of explanation
"""


