Skip to main content

Is a number even?

Project description

is-even https://pypi.org/project/is-int-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


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 hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page