Package for effectively finding digit on certain index in infinite number string
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
digit-index-1.0.tar.gz
(1.5 kB
view hashes)
Built Distribution
Close
Hashes for digit_index-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0458b9f465802dc6327ac1e600031345e69311f654600dac4856f2f8e87b36e4 |
|
MD5 | e98169cb4ed3d182d9cb04ce767fe19e |
|
BLAKE2b-256 | 83eb9d175f374c889e44563a6ad02df671e51712e374cffd52c1643edaee687a |