loader
pttman

pttman Muster

屬於你的大爆卦
pttman

pttman Muster

屬於你的大爆卦
pttman

pttman Muster

屬於你的大爆卦
  • Ptt 大爆卦
  • While break Python
  • 離開本站
你即將離開本站

並前往https://stackoverflow.com/questions/72244798/how-to-use-an-if-statement-to-break-a-while-loop-when-the-word-exit-is-typed

python - How to use an if statement to break a while loop ...

Try this: newItem = str() while newItem != "exit": newItem = input('Input the new device:') print("'exit' was typed.").

確定! 回上一頁

查詢 「While break Python」的人也找了:

  1. python while break用法
  2. python while用法
  3. python while無限迴圈
  4. python while多條件
  5. while迴圈python
  6. Python while if
  7. python while迴圈累加
  8. python while loop用法

關於我們

pttman

pttman Muster

屬於你的大爆卦

聯終我們

聯盟網站

熱搜事件簿