Say i have a function named J and an array named f.
now i call this code:
result =  for n in f: results.append(J(n))
is there any more efficient way of doing this? I was thinking something along the lines of...
results = (J(n) for n in f)
But that didn't work.