Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I usually do this using a for loop. For example,

L=[[1,2],[3,4],[5,6]]
# overly simple example function
f(x)=x^2
for entry in L:
    #your code to run here
    f(entry[0])