Answers for "Python program to find odd or even in a list"

1

odd or even in python

n = int(input("Enter a number: "))
print(n,"is Even.") if (n % 2) == 0 else print(n,"is Odd.")
Posted by: Guest on April-16-2021

Code answers related to "Python program to find odd or even in a list"

Python Answers by Framework

Browse Popular Code Answers by Language