Skip to main content

A simple library to check odd and even numbers.

Project description

MJ_odd_or_even

A tiny, dependency-free Python library to check whether an integer is odd or even.

Installation

pip install mj_odd_or_even

```python
from mj_odd_or_even import is_odd, is_even

print(is_odd(7))   # True
print(is_even(8))  # True

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

mj_odd_or_even-0.1.0.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

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

mj_odd_or_even-0.1.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file mj_odd_or_even-0.1.0.tar.gz.

File metadata

  • Download URL: mj_odd_or_even-0.1.0.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for mj_odd_or_even-0.1.0.tar.gz
Algorithm Hash digest
SHA256 15af443dcfad34308f2f1b6e1fea6871d6e23ab9839c36e7b3bd5dc2b5638291
MD5 29fbd7dbe5619e14f42d0162c7e07c2c
BLAKE2b-256 16688778a9b36d3cad35bc70383acc5bcd9d86f83fa124a9d6fdb0387cca3fae

See more details on using hashes here.

File details

Details for the file mj_odd_or_even-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mj_odd_or_even-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for mj_odd_or_even-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8c18a43a5c7d560f3b4322bb789b8714429d4a0c590f13ed36eec36f749ee0dc
MD5 87dd46c7e497aef165b821f87721435d
BLAKE2b-256 fe4d46c59fc1d7d424211a73378d306242279f5fc42a83f4e9a6acc2b9d1b8fa

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