Skip to main content

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

Uploaded Source

File details

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

File metadata

  • Download URL: is-even-1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 9ab70378a2b14f83b25faf830bc2648de47c424c297db3fda0b69e1fe99d37da
MD5 07da96e5c7f87f1da946b0415b09bc62
BLAKE2b-256 934d48af27ffc6e880164102bbbddf6d11acf47b223d7941a383702621765cf3

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