We have to calculate Pi.
My code
import sys import math for s in sys.stdin: m = math.pi t = str(m).split(".") tok = ("").