運用以下方法1. breakprint("開始")while True: print("1") break print("2")print("結束")#輸出結果開始1結束這時候print(“2”)就不會執行了,在迴圈 ...
確定! 回上一頁