Open yangsuiyun opened 5 years ago
>>> from operator import add >>> from itertools import repeat >>> list(map(add, [1,2,3], repeat(4)))
[5, 6, 7]
[5, 6, 7]