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.functions 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
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.4.tar.gz
(9.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nextnum-1.2.4.tar.gz.
File metadata
- Download URL: nextnum-1.2.4.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
618c39ff81958414a1b288f0d1f437617cf1e1ea8c2d4b84d03a53fcbda092d4
|
|
| MD5 |
4f7d9ff216cc8762cc7f65caeb643f60
|
|
| BLAKE2b-256 |
36cf1ae5071b2fc01b0813271e8a03db0368e22be068c4ee1b0d86652fd50a6a
|
File details
Details for the file nextnum-1.2.4-py3-none-any.whl.
File metadata
- Download URL: nextnum-1.2.4-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eac2b586fa2ac7b5732d2931a4dbad6b1b2af53e74af790281b62e95d4dd4b6d
|
|
| MD5 |
75d234f9735f679255c6c98cbd487ee0
|
|
| BLAKE2b-256 |
d929718de9a6e89a3d779c7a5524d0c13e4a7cf7f4a5da3aad78f9e3716ee71f
|