Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

lambda python

even = lambda a: True if a % 2 == 0 else False
even(6) ## True
even(9) ## False
 
PREVIOUS NEXT
Tagged: #lambda #python
ADD COMMENT
Topic
Name
3+3 =