
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
Python从0到100(七):Python列表介绍及运用
Python从0到100(七):Python列表介绍及运用
字符串 Python python -
python用while求1到100的乘积 python用while循环求1到100的和
while循环 在给定的判断条件为 true 时执行循环体,否则退出循环体。基本语法:while bool表达式: 循环体【else: 语句块】【例】实现1-100的求和计算i=1sum=0while i<=100: sum+=i i+=1print("1-100的和为:%d
python while 循环 全局变量 python while循环引用 shell while 结束循环 字符串 死循环 -
输出1到100的奇数 python 输出1到100的奇数每行10个用while
## 使用while循环输入 1、2、3、4、5、6、8、9、10
输出1到100的奇数 python while循环