Search
 
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
Name
3+5 =