Python 换行符 - 如何在 Python 中实现换行
在 Python 中,使用换行符 '\n' 来表示换行。例如:
print('Hello\nWorld')
输出结果为:
Hello
World
原文地址: http://www.cveoy.top/t/topic/ole4 著作权归作者所有。请勿转载和采集!
安全问答是一个知识全球问答,包含丰富的问答知识
在 Python 中,使用换行符 '\n' 来表示换行。例如:
print('Hello\nWorld')
输出结果为:
Hello
World
原文地址: http://www.cveoy.top/t/topic/ole4 著作权归作者所有。请勿转载和采集!