Skip to main content

Simple library to check if a number is odd

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

isOdd-0.1.2.tar.gz (1.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page