Create pi.py

Starting code.