Skip to main content

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

Project description

odd-or-even-checker

A minimal Python package to check whether a number is odd or even.

Installation

pip install odd-or-even-checker

Usage

from odd_or_even import check_number
print(check_number(10))  # even
print(check_number(7))   # odd

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_checker-0.1.0.tar.gz (1.6 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_checker-0.1.0-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for odd_or_even_checker-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9a6f867a8e006b427d5a1a8cb4545ac55ff1f067572a55a5111f1cae742641a8
MD5 19feb19525658ffefc3e69a9f777553c
BLAKE2b-256 7fffad6cda24a8a75442ba2b9379b26b367f335a2a79c00087aa7e720e807bca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odd_or_even_checker-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 09998361d3806e7c9e8e5fc622290739338ee7946fe3069cb4f8f8b0c4ce55a0
MD5 f61ff55899690bf2776bba395c166254
BLAKE2b-256 c66383efcace4005196e3ee5aceee99015d4b7e445c1fab9d268572fb6bcddde

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