Skip to main content

A simple library to check if a number is odd or even.

Project description

Odd or Even

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

Installation

You can install the library via pip:

pip install odd-or-even


#usage
from odd_or_even import is_odd, is_even

print(is_odd(5))  # True
print(is_even(10))  # 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

odd_or_even-0.1.0.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

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

odd_or_even-0.1.0-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for odd_or_even-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c4ab2abcfbac041311fae739392839091108ebcbf8f5af1d527d6e545e3ff252
MD5 30321d23e11ce0d8d9deb2444270e3e8
BLAKE2b-256 550c8367ac424b0ffcdd96aa9fb8d3f32e3e5dc4659c4bf4686b0405cfd45ba1

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for odd_or_even-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 de4a2a295d2bad24dcc593dd7977ef9dd0243a747cf208131fed86415ff3bc3b
MD5 b0831eb3e40f2e3d1eb94c424272af97
BLAKE2b-256 34b7366f652081222d032a3081c146c6cb97211ea5e102864b057f3ed5583404

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