Pi Decimal Counter
Create a program that takes a positive integer as an argument when first running the script (./script.py [arg]), and print pi to the number of decimal spaces specified by that argument, up to 1000 decimal places.
$ ./pi_counter.py 5
You can use the sympy module to easily get pi to 1000 decimal places:
from sympy.mpmath import mp
mp.dps = 1000
long_pi = mp.pi
You can install this module with pip:
sudo pip install sympy
You don't have to use this module but it's much easier than making your own function that counts pi out. This aspect, like I was told in a PM about the previous merge sort project, might be a little out of the scope of a simple beginner project which is why I'm adding a snippit of code that does it for you (which you can use or ignore).
Make sure to include what version of python you are running.