Skip to main content

A simple Python library to check whether a number is odd or even

Project description

oddoreven

A tiny Python package to check whether a number is odd or even.

Installation

pip install oddoreven-merlin

Usage

from oddoreven import check, is_even, is_odd print(check(10)) print(is_even(7)) print(is_odd(7))

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

oddoreven_merlin-0.2.0.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

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

oddoreven_merlin-0.2.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file oddoreven_merlin-0.2.0.tar.gz.

File metadata

  • Download URL: oddoreven_merlin-0.2.0.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for oddoreven_merlin-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b866949b40f4b397b30d124957925e16b53900b815403cc84c61bd138b4ad420
MD5 02c3b8ef11782ed1b9bc9f608a0e22ff
BLAKE2b-256 831fe53509a0a8a38cf57156848f302d5e8137e0043bc3a5546f0c551fd2be66

See more details on using hashes here.

File details

Details for the file oddoreven_merlin-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for oddoreven_merlin-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 808318bb71618502782821150ed6bd60b5e74f1fa8a1aa31d91a8abb892e9596
MD5 c549c4ca8b4a3aefaadd11a15e0bf090
BLAKE2b-256 ceaaf1ce87b738905ec1edb9051d826d6b7e43342decc00f24c2b3ef8dc62b22

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