0

Are lambda in python only valid for defining the function with only one statement?

I am unable to define a lambda containing two statements and getting a syntax error

27th Dec 2017, 8:56 AM
Sai Raja Yalla
Sai Raja Yalla - avatar
1 Respuesta
+ 1
You can only have one statement in a lambda function.
27th Dec 2017, 9:32 AM
emmey
emmey - avatar