DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
odd or even in python
n = int(input("Enter a number: ")) print(n,"is Even.") if (n % 2) == 0 else print(n,"is Odd.")
Source by www.javatpoint.com #
PREVIOUS
NEXT
Tagged:
#odd
#python
ADD COMMENT
Topic
COMMENT
Name
6+5 =
Submit