Skip to main content

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"

Release files for odd-or-even-albin 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for odd-or-even-albin 0.1.0
File Size Uploaded
odd_or_even_albin-0.1.0.tar.gz 1.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for odd-or-even-albin 0.1.0
File Interpreter ABI Platform
odd_or_even_albin-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 3.4 kB

Release files / odd_or_even_albin-0.1.0.tar.gz

Download URL odd_or_even_albin-0.1.0.tar.gz
Size 1.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e5aeb868027cd137ff47eb1cb4bc9788b09ea15acb1bbd3d9596e36ecae8b4ac
BLAKE2b-256 checksum
How to use checksums
bf78b96763f1360a0d7ebc6a7a78b4a97ab7b368b7f77410a7a258d48ac4db21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / odd_or_even_albin-0.1.0-py3-none-any.whl

Download URL odd_or_even_albin-0.1.0-py3-none-any.whl
Size 1.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d71a13388c5214753051dd475042bf3c47edfa5083f4667b3e7c36144a48e43f
BLAKE2b-256 checksum
How to use checksums
ee76be791090b7bfe79d81c4b1746c5f2cd25c44a201ea08d1e6df8bb99e7b73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page