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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5aeb868027cd137ff47eb1cb4bc9788b09ea15acb1bbd3d9596e36ecae8b4ac
|
|
| MD5 |
c51f7bf68910140b98ca0c2ea5e0eb11
|
|
| BLAKE2b-256 |
bf78b96763f1360a0d7ebc6a7a78b4a97ab7b368b7f77410a7a258d48ac4db21
|
File details
Details for the file odd_or_even_albin-0.1.0-py3-none-any.whl.
File metadata
- Download URL: odd_or_even_albin-0.1.0-py3-none-any.whl
- Upload date:
- Size: 1.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d71a13388c5214753051dd475042bf3c47edfa5083f4667b3e7c36144a48e43f
|
|
| MD5 |
0eb49f8aefed4db8ff964e328ca80328
|
|
| BLAKE2b-256 |
ee76be791090b7bfe79d81c4b1746c5f2cd25c44a201ea08d1e6df8bb99e7b73
|