掃二維碼與項目經(jīng)理溝通
我們在微信上24小時期待你的聲音
解答本文疑問/技術(shù)咨詢/運營咨詢/技術(shù)建議/互聯(lián)網(wǎng)交流
python中的死循環(huán)

創(chuàng)新互聯(lián)建站主營柳林網(wǎng)站建設(shè)的網(wǎng)絡(luò)公司,主營網(wǎng)站建設(shè)方案,成都app軟件開發(fā),柳林h5小程序開發(fā)搭建,柳林網(wǎng)站營銷推廣歡迎柳林等地區(qū)企業(yè)咨詢
這里True,代表1是真,0是假
i = 0 while True: i = i + 1 if i == 50: print 'I have got to the round 50th!' continue if i>70:break print i
死循環(huán)
i = 0 while True: i = i + 1 if i == 5000000: print 'I have got to the round 50th!' break # if i>70:break # print i
推薦學(xué)習(xí)《python教程》。

我們在微信上24小時期待你的聲音
解答本文疑問/技術(shù)咨詢/運營咨詢/技術(shù)建議/互聯(lián)網(wǎng)交流