Skip to main content

A simple library to check odd or even numbers

Project description

odd_or_even

A simple Python library to check whether a number is odd or even.

Installation

pip install odd_or_even_albin


from odd_or_even import is_even, is_odd, check

print(is_even(10))   # True
print(is_odd(7))     # True
print(check(15))     # "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_albin-0.1.0.tar.gz (1.5 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_albin-0.1.0-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: odd_or_even_albin-0.1.0.tar.gz
  • Upload date:
  • Size: 1.5 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_albin-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e5aeb868027cd137ff47eb1cb4bc9788b09ea15acb1bbd3d9596e36ecae8b4ac
MD5 c51f7bf68910140b98ca0c2ea5e0eb11
BLAKE2b-256 bf78b96763f1360a0d7ebc6a7a78b4a97ab7b368b7f77410a7a258d48ac4db21

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odd_or_even_albin-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d71a13388c5214753051dd475042bf3c47edfa5083f4667b3e7c36144a48e43f
MD5 0eb49f8aefed4db8ff964e328ca80328
BLAKE2b-256 ee76be791090b7bfe79d81c4b1746c5f2cd25c44a201ea08d1e6df8bb99e7b73

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