►
Run
def func(a): return a + 0.5 x = [2, 4, 6, 8] result = map(func, x) for item in result: print(item)
Output