Python 提供了while 以及for...in 迴圈. while迴圈語法 ... while迴圈可以搭配continue、break、pass ... while True: str = input("請輸入p結束") if str=="p": break.
確定! 回上一頁