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.5.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

is_even-1.0.5-py2.py3-none-any.whl (2.2 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