sys.stdout.write no longer prints on next row

后端 未结 1 445
后悔当初
后悔当初 2021-01-27 14:44

So I have this piece of code, very basic stuff that I\'m working on. I stumbled upon this \"slow type\" thing, that I like but if I use it instead of all print functions, most o

相关标签:
1条回答
  • 2021-01-27 15:21

    You can print a newline character (\n) at the end of each line where you so desire, or add it to the print_slow function.

    0 讨论(0)
提交回复
热议问题