Skip to main content

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 isEven

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

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.4.tar.gz (1.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

is_even-1.0.4-py2.py3-none-any.whl (2.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file is-even-1.0.4.tar.gz.

File metadata

  • Download URL: is-even-1.0.4.tar.gz
  • Upload date:
  • Size: 1.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for is-even-1.0.4.tar.gz
Algorithm Hash digest
SHA256 16b74ad808057a05d5135a00d883487cc4785f156035d49a613acf130c8e4585
MD5 cabdd719dd3515a94e5a10eb96cf720e
BLAKE2b-256 249133acea1968e9bed86cee5eef87d06b87a6cdece484ecf6970fe23f6c5250

See more details on using hashes here.

File details

Details for the file is_even-1.0.4-py2.py3-none-any.whl.

File metadata

  • Download URL: is_even-1.0.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 2.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for is_even-1.0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bd940e80bb16162eea1462ea410a60d42b81bdb5e2e4ecc0f9dcad92eac8e6a4
MD5 5db78afd380f74ed6bd3737dbdae4362
BLAKE2b-256 6b9b4a3df9f9ea34dceb769e80c8b22c07701a2b0fddf8c49d8f19edc3e44049

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page