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
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.5.tar.gz
(2.0 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.5.tar.gz.
File metadata
- Download URL: is_even-1.0.5.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b1803146bad7e613c86099e3b85572b9187431f161024e3b7666302f03acfa7
|
|
| MD5 |
0e36f90e522fa4e72272a94730beda62
|
|
| BLAKE2b-256 |
e0ddb748551e8e3d7afd0b14b4f9a5536d1838ec82004884365d39ea2c845edb
|
File details
Details for the file is_even-1.0.5-py2.py3-none-any.whl.
File metadata
- Download URL: is_even-1.0.5-py2.py3-none-any.whl
- Upload date:
- Size: 2.2 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 |
8943d191e0a112b0f7449982eb5952c4afa657a1f7ddcfeea5967db8844f500f
|
|
| MD5 |
15c75354043f8b5c9945bb85c225d92b
|
|
| BLAKE2b-256 |
19cf9b6c6efdd8686afc901779b3b9507829e13a14af9e4c7f31452c23c29d2b
|