摘要: #pi.pyimport randomimport timecount = 0start = time.perf_counter()for i in range(0,10**6): x = random.uniform(-1,1) y = random.uniform(-1,1) if (x*x + 阅读全文
posted @ 2022-10-13 12:51 Aya*=* 阅读(52) 评论(0) 推荐(0) 编辑