在迴圈中只要碰到break就會跳出迴圈形成中止該loop,這樣用法不只在while也同時 ... (x1 or x2) x6 = (not x2) x7 = (not x3) x8 = (not x6 and not x7) print(x1, x2, ...
確定! 回上一頁