Skip to main content

Python package to check whether an input is 13 or not

Project description

Python implementation of is_thirteen by jezen

A python package(pypi) to check whether the input is 13 or not.

Install

pip install --upgrade is_thirteen

Usage

from is_thirteen import Number, Str

# basic skills
Number(13).thirteen()                   # True
Number(12.8).roughly().thirteen()       # True
Number(6).within(10).thirteen()         # True

# math operations
Number(4).plus(5).thirteen()            # False
Number(12).plus(1).thirteen()           # True
Number(4).minus(7).thirteen()           # False
Number(14).minus(1).thirteen()          # True
Number(1).times(8).thirteen()           # False
Number(26).divides(2).thirteen()        # True

# spelling and chemistry skillz
Str("ThirTEEn").thirteen()              # True
Str("nEETrihT").backwards().thirteen()  # 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

is_thirteen-0.0.2.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distribution

is_thirteen-0.0.2-py3-none-any.whl (3.1 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