Python3 how to clear previous prints while looping, flush?

前端 未结 0 748
长情又很酷
长情又很酷 2020-12-17 02:54

I want to show only one item at the screen I guess this should be done with print(..., flush=True) but it don\'t work as I expected.

for i in range(0,100):
           


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