📜  您将如何在 python 代码示例中打印空间并保持在同一行

📅  最后修改于: 2022-03-11 14:47:00.648000             🧑  作者: Mango

代码示例1
To print without a new line in Python 3 add an extra argument to your print function telling the program that you don't want your next string to be on a new line. Here's an example: print("Hello there!", end = '') The next print function will be on the same line.