python不换行

例如:

# 在默认情况下,print 函数输出内容之后,会自动在内容末尾增加换行
print("*",end="")
print("*")

结果:

原文地址:https://www.cnblogs.com/022414ls/p/13269190.html