Skip to main content

Small helper to check whether a number is even or odd.

Project description

evenodd-checker

Tiny package that returns "even" or "odd" for a given integer.

Usage

from evenodd import is_even_or_odd

print(is_even_or_odd(7))   # odd
print(is_even_or_odd(8))   # even

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

even_or_odd_ebin-0.1.5.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

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

even_or_odd_ebin-0.1.5-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file even_or_odd_ebin-0.1.5.tar.gz.

File metadata

  • Download URL: even_or_odd_ebin-0.1.5.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for even_or_odd_ebin-0.1.5.tar.gz
Algorithm Hash digest
SHA256 7799b3a53ceeae63e30375d22ed2b609e3e425ec1018df99837e78cb2ca534ed
MD5 2291addb9cd8286d912eaaddb99c7735
BLAKE2b-256 ebda0914fd8247aaef44b5ff1917bb5027d26ec3c5e7c41db2d7c179a73efeec

See more details on using hashes here.

File details

Details for the file even_or_odd_ebin-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for even_or_odd_ebin-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8611ae61c7b6e1d6e647de6229bb18d3347b217c979d6b8c070b10c18fd318b2
MD5 9e7e45431fdbf64f9bab4c10c4fa7b13
BLAKE2b-256 cbd6b0a948369927fee24df33698f1cf18ea4ee1223e0d520928a306a7e614b3

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