Small helper to check whether a number is even or odd.
Project description
evenodd-checker
Tiny package that returns "even" or "odd" for a given integer.
Usage
from evenodd import is_even_or_odd
print(is_even_or_odd(7)) # odd
print(is_even_or_odd(8)) # even
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 even_or_odd_ebin-0.1.5.tar.gz.
File metadata
- Download URL: even_or_odd_ebin-0.1.5.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7799b3a53ceeae63e30375d22ed2b609e3e425ec1018df99837e78cb2ca534ed
|
|
| MD5 |
2291addb9cd8286d912eaaddb99c7735
|
|
| BLAKE2b-256 |
ebda0914fd8247aaef44b5ff1917bb5027d26ec3c5e7c41db2d7c179a73efeec
|
File details
Details for the file even_or_odd_ebin-0.1.5-py3-none-any.whl.
File metadata
- Download URL: even_or_odd_ebin-0.1.5-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8611ae61c7b6e1d6e647de6229bb18d3347b217c979d6b8c070b10c18fd318b2
|
|
| MD5 |
9e7e45431fdbf64f9bab4c10c4fa7b13
|
|
| BLAKE2b-256 |
cbd6b0a948369927fee24df33698f1cf18ea4ee1223e0d520928a306a7e614b3
|