Digits of Pi | SoloLearn: Learn to code for FREE!


Digits of Pi

why my code is not passing test of code coach? https://code.sololearn.com/c70VDwoHW2Fd/?ref=app

3/28/2020 9:03:59 AM

Muhammad Faheem Nasir

2 Answers

New Answer


The description of the task states that you need to figure out up to a 1000 decimal places. Try to print math.pi and see how many decimals you get. So math.pi is not the solution, you got to find another way.


You can type everything by hand (every digit) https://code.sololearn.com/cPkpO2gmACEz/?ref=app