#pi_approxs.py #find "good" fractional approximations to PI, e.g. 22/7, 333/106, 355/113, import math #IGNORE def len_same_prefix(pi_approx): pi_str = str(math.pi) pi_approx = str(pi_approx) #print(pi_str, len(pi_str), len(pi_approx)) digits = 1 while digits