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 details)

Uploaded Source

Built Distribution

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

digit_index-1.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file digit-index-1.0.tar.gz.

File metadata

  • Download URL: digit-index-1.0.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for digit-index-1.0.tar.gz
Algorithm Hash digest
SHA256 631ece2e7ff48ac09d0b3acc75fa96605bf3fef98a6582fc752e740a787976d1
MD5 bce056e62afdae9c043ba4762ed92d94
BLAKE2b-256 e9da8497a358138c0cffa1f3a2b659792affabf28dcbfa82ac17f7b08b213199

See more details on using hashes here.

File details

Details for the file digit_index-1.0-py3-none-any.whl.

File metadata

  • Download URL: digit_index-1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for digit_index-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0458b9f465802dc6327ac1e600031345e69311f654600dac4856f2f8e87b36e4
MD5 e98169cb4ed3d182d9cb04ce767fe19e
BLAKE2b-256 83eb9d175f374c889e44563a6ad02df671e51712e374cffd52c1643edaee687a

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