摘要: While循环为假条件: while后边的条件永远为真(True),在python看来只有以下内容会被看作假:False、None、0、“”、‘’、()、[]、{} 1 while '': 2 print('进入循环') 3 print('退出循环') 4 ======5 退出循环 1 while 阅读全文
posted @ 2016-03-04 14:55 喜闻乐见小逗逗 阅读(715) 评论(0) 推荐(0) 编辑