This is an approximation of the value of π. The result is given with the standard deviation and the number of approximations. The default number of approximations (n) is 10.
Writen in Python 3.7
Example:
-
Using the default n
$ python pi.py
-
With a different n
$ python pi.py -n 20