##### 100 digits of pi which ones which

This is some simple python code i put together and it tells where about each number of pi is but only for 100 digits enjoy and feel free to use parts of it. Don't forget to Upvote this too.

if you do file reading, you can do more than 1000 digits :)

PUT ALL DIGITS IN ONE LINE

`digits_of_pi = open("FILENAME.txt","r").readlines()[0]`

@ChezCoder Thx this will be helpful

`the 63th digit of pi`

lol 63th cool project though

lol thx bro

@Zexogon Thx man its fixed try it now

@Uzalii nice :3

Pretty cool! Although I will point out that you get an error if you put in a decimal number...

Really cool. But there are ways to calculate pi. Using this strategy, you can write thousands of digits. Ask me if you want to know more.

@CodeABC123 tell me more

@CodeABC123 Thousands ? Pah! I can write an algorithm that will generate a couple of trillion digits in under 100 iterations. But if you just want to know the value of any particular digit, it's possible to do that such that it takes no additional computer memory or time to obtain the 10-trillionth digit as it does to obtain the 2nd digit.

Disallowing `1`

as a choice doesn't make sense: the first digit of π is `3`

; there is no zeroth digit. Therefore, your selection range should be between `1-100`

inclusive.

@ChristoferK 1= . So I had to disallow it as 1 is not a digit

@Uzalii just change `pi[pidig]`

to `pi.replace('.', '')[pidig]`

@ChristoferK I Changed it it is no 1-100

How did you get 100 digits of pi

@8D_Joe_Efretuei just search it up

Nice as always bro i upvoted

@8D_Joe_Efretuei Thx bro

pi does not = 3.14...067. It irrational

@Thecrowbar1234 I shortened it to the first 100 digits this number is not really pi just a very small version of pi

5th digit of pi is 5 XD

@ChezCoder lol and did you upvote