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