Skip to main content

A simple Python package to check if a number is odd or even.

Project description

odd-or-even

A simple Python package to check if a number is odd or even.

Installation

pip install odd-or-even

Usage

from odd_or_even import is_even, is_odd

print(is_even(10))  # True
print(is_odd(7))    # True

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

odd_or_even_s-0.1.0.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

odd_or_even_s-0.1.0-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file odd_or_even_s-0.1.0.tar.gz.

File metadata

  • Download URL: odd_or_even_s-0.1.0.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for odd_or_even_s-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4dec34149dbe8424c0d9c5099d3e70481c568f839f21a3a8310226857ba8bd30
MD5 7799842468bba0eb44cabeda08171bea
BLAKE2b-256 772543b88d6a972f69731b4b73c98a477556285545daa5900dffa06a91c5e728

See more details on using hashes here.

File details

Details for the file odd_or_even_s-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: odd_or_even_s-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for odd_or_even_s-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 df4d0d3efd88129e8905006ba0c21ae871e997acff6e63b9ccdefdb5d6a7eccd
MD5 a901c7ae4bf2f6b65f7653c355edf542
BLAKE2b-256 880282f3c387e9541c4b2c68196a2b6c0ab8e18a1078e909a610447a5d5285ed

See more details on using hashes here.

Supported by

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