DEV Community

Discussion on: Python Lambda functions

Collapse
lukaszahradnik profile image
Lukáš Zahradník

One small detail - your two approaches do not have the same result (map does not return list). So to get the exact same result you would have to for example wrap map in list.