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

pip install is-even

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.1.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.1-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: is-even-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 22b72acda1dba997190f06db166aa16a4494805ba75945c13355d3347f21d078
MD5 d3e17ba3f87900da0ee0260d8b04acaf
BLAKE2b-256 f5fdcc8cd1b85139ca1db2f9335aa78549b852a72ec9582c9dcbc1eaa43cb545

See more details on using hashes here.

File details

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

File metadata

  • Download URL: is_even-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cf52c457603712098ee9bdad148bdfddd4fc544d052516c178e296cb79d7dd9b
MD5 5a52cd492b2f78a47232dd329fd3ac20
BLAKE2b-256 afebfb9182ec1a4c32606c153142dbd73d000ee69c0ed522d895011f10f601ac

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