Skip to content

Finds what digit is placed on certain 0-based index in string of numbers from zero to infinity or from one to infinity

License

Notifications You must be signed in to change notification settings

KonyshevArtem/digit-index

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Digit-Index

This package contains an effective algorithm for finding what digit is placed on certain 0-based index in string of numbers from zero to infinity or from one to infinity

Install

pip install digit-index

Usage

import digit_index

digit = digit_index.get_digit_zero_based(0) # get digit on index in string of numbers from zero to infinity 
print(digit) # 0

digit = digit_index.get_digit_one_based(0) # get digit on index in string of numbers from one to infinity
print(digit) # 1

License

MIT

About

Finds what digit is placed on certain 0-based index in string of numbers from zero to infinity or from one to infinity

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages