Write a lambda function that gives True if the input number is even otherwise False


Topic: Write a lambda function that gives True if the input number is even otherwise False

Solution

even = lambda a: True if a%2 == 0 else False



List all Python Programs