Skip to main content

is-even

PyPI PyPI - Downloads GitHub branch checks state

Return true if the given number is even

Install

Install with pip

Usage

from is_even import isEven

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

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.0.tar.gz (2.1 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.0-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: is-even-1.0.0.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for is-even-1.0.0.tar.gz
Algorithm Hash digest
SHA256 df603354b9163922b3aa4d612a69ccaab1acaf57b6ab23fa6e8e0a68a25dcce6
MD5 0f507f349aecc8270a7148bf1149e2eb
BLAKE2b-256 2c24235bfe06ee0b4a750de84717c28c2421db057bcfb252cf36d323678d935a

See more details on using hashes here.

File details

Details for the file is_even-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: is_even-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for is_even-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a8b718de08acc9e609907f1ccc503c2abe4f016b0c1a01897a1d5997c260a960
MD5 e8801418c5099cb214c82c57afb4aaf3
BLAKE2b-256 891719a7621c07e393d689356525063fd881012517c511103565f0b8968bae06

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 Pingdom Monitoring Sentry Error logging StatusPage Status page