摘要: PI = 0 N = 1000 for n in range(int(N)): PI += 1/pow(16,n) * (4/(8*n+1) - 2/(8*n+4) - 1/(8*n+5) - 1/(8*n+6)) print(PI) import sys, timeclass ShowProces 阅读全文
posted @ 2023-10-30 08:30 李想2022310143126 阅读(34) 评论(0) 推荐(0)