In Python, how to use “break” in while loop within single line?

前端 未结 0 420
失恋的感觉
失恋的感觉 2020-11-28 17:06

Just want to ask a simple question.

Because I tried to write the following code into single line,

  • Before:
while True: 
    print(\'         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题