How to make the output numbers in Python to be displayed in a new line?

In Python, you can use the newline character “\n” to achieve line breaks in output. For example:

print("第一行\n第二行\n第三行")

The output result is:

第一行
第二行
第三行

Additionally, you can use multiple print statements to achieve line breaks in the output, as each print statement automatically adds a line break at the end. For example:

print("第一行")
print("第二行")
print("第三行")

The output/result is:

第一行
第二行
第三行
广告
Closing in 10 seconds
bannerAds