在print语句中加上end = “”/''即可输出不换行
print("hello", end = " ")
print("world", end = " ")
hello world
print("hello", end = "")
print("world", end = "")
helloworld
print("hello", end = '')
print("world", end = '')
helloworld
效果等同于tab键,让多行字符串进行对齐
print("hello\tworld")
print("love\tyou")
hello world
love you