Discuss / Python / 如何用一个print实现换行

如何用一个print实现换行

Topic source

s1 = 'hello,world'

s2 = 'hello,','\\\'Adam\\\''

s3 = 'hello,','\"bart\"'

s4 = r'''hello,

lisa!'''

print(?)

刘半仙leo

#2 Created at ... [Delete] [Delete and Lock User]

可以前面加\n


  • 1

Reply