Return true if the given number is even.
Project description
Return true if the given number is even
Install
Install with pip
pip install is-even
Usage
from is_even import is_even
is_even(0)
# => False
is_even(1)
# => True
is_even(2)
# => False
is_even(3)
# => True
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
is_even-1.0.7.tar.gz
(2.1 kB
view details)
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 is_even-1.0.7.tar.gz.
File metadata
- Download URL: is_even-1.0.7.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6243f084aef3b3b85cf9b33546f69124729e7411b8e6c3de4d491b25aa21e913
|
|
| MD5 |
ec8185332e18850fb33db0a62b072182
|
|
| BLAKE2b-256 |
25766a856968d7cba7ba610ea87fd7305c2fd5d03833a3c80c5d11da72a9f4be
|
File details
Details for the file is_even-1.0.7-py2.py3-none-any.whl.
File metadata
- Download URL: is_even-1.0.7-py2.py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8bfc98d00c4380daf97f7125fdf323952c993371a4dd3466ef409a33c14cd6d
|
|
| MD5 |
4fda491e46fdee44c10c880d8420fdf0
|
|
| BLAKE2b-256 |
333e0c8fcb3f548823b0f56fad14b9ac37eef37ead670cc6dd592ca091997da1
|