Skip to main content

Return true if the given number is even.

Project description

is-even

PyPI PyPI - Downloads GitHub branch checks state

Return true if the given number is even

Install

Install with pip

pip install is-even

Usage

from is_even import isEven

isEven(0)
# => True
isEven('1')
# => False
isEven(2)
# => True
isEven('3')
# => False

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

Uploaded Source

Built Distribution

is_even-1.0.1-py3-none-any.whl (2.4 kB view hashes)

Uploaded 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