5 ms·
map(lambda x: x, ['a', 'b', 'c'], [1, 2]) This should be map(lambda x, y: (x, y), ['a', 'b', 'c'], [1, 2]) If you want the same behavior as passing None
by accounthere 11y ago
map(lambda x: x, ['a', 'b', 'c'], [1, 2])
This should be
map(lambda x, y: (x, y), ['a', 'b', 'c'], [1, 2])
If you want the same behavior as passing None as the first argument.