会员
周边
新闻
博问
闪存
众包
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
hahahahhhh
博客园
首页
新随笔
联系
订阅
管理
2019年3月25日
Python代码的第一天
摘要: #求一到一百所有整数的和n = 1 s = 0 while n < 101: s = s + n n = n + 1 print(s) #输出一到一百所有偶数#passn = 1s = 0while n < 101: temp = n % 2 if temp == 0: print(n) n = n + 1else: pass ...
阅读全文
posted @ 2019-03-25 19:04 hahahahhhh
阅读(83)
评论(0)
推荐(0)
公告