Make numbers even/odd
Project description
Make numbers even/odd
from make_even_odd import make_even_ceil, make_even_floor, make_odd_ceil, make_odd_floor
print(list(make_even_ceil(*[198, 7, 12, 3])))
print(list(make_even_floor(*[198, 7, 12, 2, 1])))
print(list(make_odd_ceil(*[198, 7, 12, 3])))
print(list(make_odd_floor(*[198, 7, 12, 2, 1])))
[198, 8, 12, 4]
[198, 6, 12, 2, 0]
[199, 7, 13, 3]
[197, 7, 11, 1, 1]
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
make_even_odd-0.10.tar.gz
(3.0 kB
view details)
Built Distribution
File details
Details for the file make_even_odd-0.10.tar.gz
.
File metadata
- Download URL: make_even_odd-0.10.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6d0cc0e562feebb97b79f5535eb97bf2b771e9e10268f80d442db4a3b315242 |
|
MD5 | 3acda183309186e72572399a9ae3b310 |
|
BLAKE2b-256 | 60510c6e12ebe847b0fe7d28fba6150b8e9c2faf1f8d91782ed0a3f3eecc13e6 |
File details
Details for the file make_even_odd-0.10-py3-none-any.whl
.
File metadata
- Download URL: make_even_odd-0.10-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c25791405e71fc2eb562e63e1da37df610bbcb16a57025b574e2f858ccee89ca |
|
MD5 | 95d10bce6d1209a91244dad3dd14a4f6 |
|
BLAKE2b-256 | 6572c7ed28943f0ba42e3edf98a024ded4fe9eb7d6473364aa17d34b1c9234a0 |