会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
zhanglizhe
博客园
首页
新随笔
联系
订阅
管理
2019年3月26日
输出0~100之间的数字之和
摘要: import time i = 0 num = 0 while i<= 100: num+=i i+=1 print('%d' %num)
阅读全文
posted @ 2019-03-26 22:15 不忘初心_LZY
阅读(486)
评论(0)
推荐(0)
编辑
输出10以内除7外的其它所有数
摘要: import timecount = 0while count<10: count = count + 1 if count==7: continue print(count)
阅读全文
posted @ 2019-03-26 21:53 不忘初心_LZY
阅读(148)
评论(0)
推荐(0)
编辑
公告