Skip to main content

A Python package for replacing '+' with a more meaningful symbol.

Project description

next-num-package

Takes a number 0-1000 as an input and gives out the next number. Be careful When

  • nextnuming a number greater than 1000
  • nextnuming a negative number
  • nextnuming a non-integer

Installation

pip install nextnum

Usage

from nextnum import nextnum

print(nextnum(1000)) # 1001
print(nextnum(0)) # 1
print(nextnum(1001)) # "Number should be between 0 and 1000"
print(nextnum(-1)) # "Number should be between 0 and 1000"
print(nextnum(1.1)) # "Number should be an integer"

Author

Nischal Lamichhane Built this Package with the best language (c++) in the world. You cad find the source for it at repository.

python version 3.8

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

nextnum-1.2.3.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

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

nextnum-1.2.3-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file nextnum-1.2.3.tar.gz.

File metadata

  • Download URL: nextnum-1.2.3.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.8.3

File hashes

Hashes for nextnum-1.2.3.tar.gz
Algorithm Hash digest
SHA256 1752e50742f8219af7f8eae57e5a77ffbf70e131f159e9b5ca990d2e7c9a08cb
MD5 c50caf0247a5bc131dfde93880f7a2fa
BLAKE2b-256 aec4a33d602c0dd3b1f3ff5a4f5e7acd0ca507df3c160caebb36a30cd3a2b723

See more details on using hashes here.

File details

Details for the file nextnum-1.2.3-py3-none-any.whl.

File metadata

  • Download URL: nextnum-1.2.3-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.8.3

File hashes

Hashes for nextnum-1.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ccecc1ef7e523d01b81716e565ff2da84074fb8d5dcdbd70acbb2276941da1ad
MD5 1438bc6be23af60a70006612990a7501
BLAKE2b-256 fc7fa1d8bfa8153f75434868671b9d2d09618765104782a3884dff1d866c40b7

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