Python写多行代码 一般来说,一行就是一条语句,,但有时语句过长不利于阅读, 一般会写成多行的形式。 字符串 方法:加\ str = "hello"+\ "python"+\ "you are so cute." str = "hello \ python" 列表[]、字典{}、元组()或单纯()内 方法:直接换行 list = [1