如果有多個判斷條件,那可以通過elif 語句添加多個判斷條件,一旦某個條件為True,那麼將執行對應的… ... print('x is less than y, and y is less than z').
確定! 回上一頁