会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
JokerMaQ
博客园
首页
新随笔
联系
订阅
管理
2020年10月9日
用python计算圆周率PI
摘要: 圆周率Pi具体公式 π/4=1-1/3+1/5-1/7+1/9-1/11+... 代码 import math import time scale=10 print("执行开始") t=time.process_time() for i in range(scale+1): a,b='**'*i,'
阅读全文
posted @ 2020-10-09 16:15 JokerMaQ
阅读(429)
评论(0)
推荐(0)
公告