def enumerate(lst):
    """
    >>> enumerate(["a", "b", "c"])
    [(0, 'a'), (1, 'b'), (2, 'c')]
    >>> for index, value in enumerate(["a", "b", "c"]):
    ...     print index, value
    0 a
    1 b
    2 c
    """
    return [(i, lst[i]) for i in range(len(lst))]