matplotlib tutorial lambda code example Example: lambda python even = lambda a: True if a % 2 == 0 else False even(6) ## True even(9) ## False