word="""12345
段落""" print(word[0:6]) 输出结果12345 换行的话是空格字符
段落"""
print(word[0:6])
print('xyz',end="") print('dnf')
print('xyz',end="")
print('dnf')