判斷條件可以是任何表示式,任何非零、或非空(null)的值均為true。 當判斷條件假 ... # continue 和break 用法 i = 1 while i < 10: i += 1 if i%2 > 0: # 非雙數時跳 ...
確定! 回上一頁