0
How can I generate this 1 million digits of pi with any modules or libraries
https://sololearn.com/compiler-playground/cDD8v7kEcfL1/?ref=app
2 Réponses
+ 2
https://mpmath.org/
Works in VScode.
In terminal
pip install mpmath
import mpmath
mp.dps = 1000000
print(mp.pi)
0
I tried it in Visual studio code but it takes a lot of time