Skip to main content

Determine whether a number is even or odd

Project description

The Is Even Module

This module contains an is_even function that you can use to determine whether a number is even or odd.

Usage Example

Firstly, install the module with.

python3 -m pip install is_even_20220929

After the module is installed, you can use it as show in this example.

import default

print("Is 2 an even number: %s" % default.is_even(2))
print("Is 3 an even number: %s" % default.is_even(3))

This will produce:

Is 2 an even number: True
Is 3 an even number: False

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

is_even_20220929-1.0.1.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

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

is_even_20220929-1.0.1-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file is_even_20220929-1.0.1.tar.gz.

File metadata

  • Download URL: is_even_20220929-1.0.1.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.0

File hashes

Hashes for is_even_20220929-1.0.1.tar.gz
Algorithm Hash digest
SHA256 08542638831713fb8c28496636c4620a28f52e1ea2685e79054d4d427cc10d78
MD5 d286f40d160ae3c7eb7edfcc94a2b087
BLAKE2b-256 e2aedf3ae72280e9bfd63c62189ec15d9e0bcaa5365c08bf21db83a8be166699

See more details on using hashes here.

File details

Details for the file is_even_20220929-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for is_even_20220929-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3d1a10baae7299fbfbac06fd6d7f74534303a2d5a9e73c4cc156c94d010fae1f
MD5 9b590398605ecb92b2eeac49ec8dacf9
BLAKE2b-256 97b9a321358c83505c8cd2109dcb6e5e974b99b80de33965eb216ad527c12767

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