Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

if condition in python lambda

func = lambda element: (expression and DoSomething) or DoSomethingIfExpressionIsFalse
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #condition #python #lambda
ADD COMMENT
Topic
Name
6+7 =