Python #A lambda function that adds 10 to the number passed in as an argument, and print the result: #What is the output? x = lambda a : a + 10 print(x(5)) code example
Example: lambda python
even = lambda a: True if a % 2 == 0 else False
even(6) ## True
even(9) ## False