实际上print函数有一个默认参数end=’\n’,也就是说打印完就换行了,所以如果不换行的话,我们把end参数设置为空就行了!
print('abc',end='') print('123',end='')
补充,