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 details)

Uploaded Source

File details

Details for the file isOdd-0.1.2.tar.gz.

File metadata

  • Download URL: isOdd-0.1.2.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.0

File hashes

Hashes for isOdd-0.1.2.tar.gz
Algorithm Hash digest
SHA256 99c0ef564aac474091d9146b36327ec45fbe80f741c90751d41eeb1eb63a487e
MD5 912b981256935f865a9026b93f62b5cf
BLAKE2b-256 dc7a71662dc743b791eb6ec7ffff7b482fe0f3d736868662829dee1642364b6d

See more details on using hashes here.

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