Skip to main content

Odd or Even

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

Installation

You can install the library via pip:

pip install odd-or-even


#usage
from odd_or_even import is_odd, is_even

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

Metadata

Release files for odd-or-even 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 0.1.0
File Size Uploaded
odd_or_even-0.1.0.tar.gz 1.7 kB Details

Built distribution (wheel)

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

Total release size: 3.6 kB

Release files / odd_or_even-0.1.0.tar.gz

Download URL odd_or_even-0.1.0.tar.gz
Size 1.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c4ab2abcfbac041311fae739392839091108ebcbf8f5af1d527d6e545e3ff252
BLAKE2b-256 checksum
How to use checksums
550c8367ac424b0ffcdd96aa9fb8d3f32e3e5dc4659c4bf4686b0405cfd45ba1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.8

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

Download URL odd_or_even-0.1.0-py3-none-any.whl
Size 1.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
de4a2a295d2bad24dcc593dd7977ef9dd0243a747cf208131fed86415ff3bc3b
BLAKE2b-256 checksum
How to use checksums
34b7366f652081222d032a3081c146c6cb97211ea5e102864b057f3ed5583404
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.8

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