python 中print()打印不换行的方法:1、end的默认参数为换行【end = " "】;2、end设置为空字符可以阻断换行【end = ""】;3、end可以设置为任意字符串【end = "++"】。