# gen.map.py def adder(*n): return sum(n) s1 = sum(map(adder, range(100), range(1, 101))) s2 = sum(adder(*n) for n in zip(range(100), range(1, 101)))