Is a number even?
Project description
is-even 
Returns true if the number passed is even, returns false if it is not.
Inspired by samuelmarina/is-even and is the python version of it :)
Installing
pip install -U git+https://github.com/sifte/is-int-even.git
Example
from is_int_even import is_even
is_even(0) # true
is_even(1) # true
is_even(2) # true
# and so on... current limit is 125,000
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
is-int-even-0.0.2.tar.gz
(316.5 kB
view details)
File details
Details for the file is-int-even-0.0.2.tar.gz.
File metadata
- Download URL: is-int-even-0.0.2.tar.gz
- Upload date:
- Size: 316.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
894dd0c09a2f64f418e98be6f8ecb390b96cc4c859a11b5d7e70b66e50388f94
|
|
| MD5 |
595d84d3b7b6dec56d76cba23172a285
|
|
| BLAKE2b-256 |
8848c9d772e589a474c01340904325ca03b46705bde2072748b187a076782d4e
|