If you want the result using a map to be a great way to apply a function to each element in a list, although many find it clearer to write it down as an understanding or list generator:
result = [foo(x) for x in bar]
However, if you are not going to use the result of the function call and are only interested in side effects, then you should write a procedural style instead:
for x in bar:
foo(x)