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.3.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.3.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: oddoreven_merlin-0.3.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.3.0.tar.gz
Algorithm Hash digest
SHA256 6df8bf46ab8824aa3165f37a9b611b2eebc0b945adfad103a2f2232a3064a05e
MD5 5f626fc26409d4b6b7e959af26205b59
BLAKE2b-256 f28fc6c674c812e46c32c5027badba628496c0955126aab5d86ece80ce94d6d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oddoreven_merlin-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 10e9b1d3e04fa2eb83dc7a58b6f00fb54b10223abae11cf64ff670b6885bd673
MD5 c48a5a7c5dc05360dd7cf5cdee68dae9
BLAKE2b-256 d549bc29c6fa3954410d4ece410865cb3789f3b002ac917f12c355c0ed7dd47d

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