
a = 7
while a > 0:
a = a-1
print(a,end=",")
输出:6,5,4,3,2,1,0,
最后
以上就是笑点低音响最近收集整理的关于Python无限循环(while)的全部内容,更多相关Python无限循环(while)内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。

a = 7
while a > 0:
a = a-1
print(a,end=",")
输出:6,5,4,3,2,1,0,
以上就是笑点低音响最近收集整理的关于Python无限循环(while)的全部内容,更多相关Python无限循环(while)内容请搜索靠谱客的其他文章。
发表评论 取消回复