O'Reilly logo
  • Sri Harsha V thinks this is interesting:

def mymap(func, *seqs): return (func(*args) for args in zip(*seqs))

From

Cover of Learning Python, 5th Edition

Note

Here because of parenthesis around the statement at return line, the expression is a generator expression thus returning a generator type of object.