/isOdd

Simple library to know if a number is odd

Primary LanguagePythonMIT LicenseMIT

isOdd

isOdd is a simple library to check if a number is odd.

Installation

pip install isOdd

Usage

from isOdd import isOdd

print(isOdd('1')) //=> true
print(isOdd('5')) //=> true

print(isOdd(0)) //=> false
print(isOdd(4)) //=> false