摘要: while条件: 循环体 无限循环 while True: print('吃饭') print('睡觉') print('打豆豆') 终止循环:1、改变条件。使其不成立 count = 1 while count <=100: print(count) count = count+1 2、break 阅读全文
posted @ 2020-05-24 17:31 烟斗和沙漏 阅读(182) 评论(0) 推荐(0) 编辑