Even and Odd Numbers List || Lambda Function || Python
In this we are going to see a basic program to find even and odd numbers using lambda in Python Programming Language.


x = lambda x : "Even" if x%2==0 else "Odd"

n = int(input("Enter Number: "))
print(x(n))

# Coded by Saahil

#ENJOY CODING


Post a Comment

FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP

Previous Post Next Post