3 ms·
[x*5 for x in [1,2,3,4,5] if x > 3] Though yes, I agree that lambdas in python are crippled. Maybe because list comprehension exists which replaces most uses o
by Too 8y ago
[x*5 for x in [1,2,3,4,5] if x > 3]
Though yes, I agree that lambdas in python are crippled. Maybe because list comprehension exists which replaces most uses of lambda, its just that they forgot about all other uses.