DEV Community

Discussion on: with & without lambda in python

Collapse
 
teaglebuilt profile image
dillan teagle

good point, the odds example is definitely overkill when a list comprehension is a possible solution. I think this also answers, the question of using lambda's for multi conditional solutions.