Python 程式語言 I 圖 4-45 while 列印迴圈 while 指令可以搭配 break,執行離開迴圈的動作如下: >>> while True: cmd = input('Do you want to quit? Enter \'q\'!
確定! 回上一頁