Skip to main content

Return true if the given number is even.

Project description

Tests PyPI PyPI - Downloads

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

Uploaded Source

Built Distribution

is_even-1.0.7-py2.py3-none-any.whl (2.3 kB view hashes)

Uploaded Python 2 Python 3

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