Digit Index
This package contains an effective algorithm for finding what digit is placed on certain 0-based or 1-based index in string of numbers from zero to infinity
Install
pip install digit-index
Usage
import digit_index
digit = digit_index.get_digit_zero_based(0)
print(digit) # 0
digit = digit_index.get_digit_one_based(0)
print(digit) # 1
License
MIT
Metadata
Release files for digit-index 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| digit-index-1.0.tar.gz | 1.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| digit_index-1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.2 kB
Release files / digit-index-1.0.tar.gz
| Download URL | digit-index-1.0.tar.gz |
|---|---|
| Size | 1.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
631ece2e7ff48ac09d0b3acc75fa96605bf3fef98a6582fc752e740a787976d1
|
|
BLAKE2b-256 checksum How to use checksums |
e9da8497a358138c0cffa1f3a2b659792affabf28dcbfa82ac17f7b08b213199
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.5
|
Release files / digit_index-1.0-py3-none-any.whl
| Download URL | digit_index-1.0-py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0458b9f465802dc6327ac1e600031345e69311f654600dac4856f2f8e87b36e4
|
|
BLAKE2b-256 checksum How to use checksums |
83eb9d175f374c889e44563a6ad02df671e51712e374cffd52c1643edaee687a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.5
|