摘要: import math import random m = input('请输入一个较大的整数') n = 0 for i in range(int(m)): x = random.random() y = random.random() if math.sqrt(x**2 + y**2) < 1: 阅读全文
posted @ 2022-08-12 10:48 故y 阅读(326) 评论(2) 推荐(0)