>>> a = "line1\nline2\nline3\nline4\n……" >>> print(a) line1 line2 line3 line4 …… >>> a = """line1 ## 使用"""xxxx""" 可以省略\n. line2 line3 line4 …… """ >>> print(a) line1 line2 line3 line4 ……