DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python odd or even
n = int(input("Enter a number: ")) print(["even","odd"][n % 2])
Source by inlarn.com #
PREVIOUS
NEXT
Tagged:
#python
#odd
ADD COMMENT
Topic
COMMENT
Name
3+5 =
Submit