L = [(lambda x: x**2), (lambda x: x**3), (lambda x: x**4)] for f in L: print f(2) # prints 4, 8, 16 print L[0](3) # prints 9