会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
sznxld
博客园
首页
新随笔
联系
订阅
管理
2020年3月30日
带进度条的圆周率计算
摘要: import random import math import time n=pow(10,7) m=0.0 print("执行开始".center(20,'-')) for i in range(1,n+1): a='*'*i b='.'*i c=(i/n)*100 x,y=random.ran
阅读全文
posted @ 2020-03-30 20:51 平平无奇的陈序员
阅读(115)
评论(0)
推荐(0)
公告