def f(a:list): for i, e in enumerate(a):