![图片[1]-如何用python编写死循环-uusu优素-乐高,模型,3d打印,编程](http://uusucn.zbbe.cn/wp-content/uploads/2024/01/5e73566b98911586.jpg)
python中的死循环
这里True,代表1是真,0是假
i=0 whileTrue: i=i+1 ifi==50: print'Ihavegottotheround50th!' continue ifi>70:break printi
死循环
i=0 whileTrue: i=i+1 ifi==5000000: print'Ihavegottotheround50th!' break #ifi>70:break #printi原文来自:https://www.py.cn
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END

















































暂无评论内容