Skip to main content

A collection of is_even methods

Project description

is_even_methods

A collection of is_even methods

Are you not able to find out if a number is even? Or is it just too boring for you to use a single algorithm? Use this module to get a great collection of is_even functions to (probably) make your life easier! Because who said evenness couldn't be entertaining?

Features

  • Pinpoint accuracy: Our algorithms are so precise that they can detect evenness with laser-like precision. No room for error here!
  • Supports negative integers: With the power of abs, our collection does not discriminate based on sign. It's all about number inclusivity, even for those negative numbers feeling a bit left out.
  • Supports most big numbers: Most of our algorithms work pretty fast with most big integers. We just hope that you will not use huge numbers. And you will not use them. Right?

Usage

Simply import this module using this one little line in your code file:

import is_even

Now you can use any of the functions in this module to determine if a number is even:

print(is_even.recursive_method(42))  # probably returns True

Contribution

Contribution are welcome! If you encounter any issues, have suggestions, or want to add a new algorithm, please feel free to open an issue or submit a pull request on the GitHub repository.

License

is_even_methods is licensed under the MIT License. See the LICENSE file for more details.

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_methods-11b0.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

is_even_methods-11b0-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page