DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
check a number is odd or even
def is_even(num): return not bool(num % 2)
Source by softhunt.net #
PREVIOUS
NEXT
Tagged:
#check
#number
#odd
ADD COMMENT
Topic
COMMENT
Name
6+7 =
Submit