''' Q6: Given a list of integers x, return a list with the index of each element added to the element. 
        The first number has an index of 0. 
>>> f([1,2,3,4,5])
[1,3,5,7,9]
>>> f([-2,-1,3,4,5])
[-2,0,5,7,9]
>>> f([1])
[1]
>>> f([-5,-3,-1,-10])
[-5,-2,1,-7]
'''

def f(x):
    # Your Code Here!
    pass

if __name__ == '__main__':
    import doctest
    doctest.testmod()