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-even.git
Example
from 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.1.tar.gz
(316.4 kB
view hashes)