Skip to main content

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

This version

1.0

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)

Uploaded Source

Built Distribution

digit_index-1.0-py3-none-any.whl (2.7 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