不换行输出回忆上次内容

python 数据队列(oeasy教您玩转python-010)(1)

尝试制作

vi banner.py

print("*==================*"); print("* *"); print("* oeasy *"); print("* *"); print("*==================*");

python 数据队列(oeasy教您玩转python-010)(2)

两个空行

print("oeasy") print() print() print("oeasy")

查询帮助

python 数据队列(oeasy教您玩转python-010)(3)

end 结尾字符

print("HelloWorld",end='$')

python 数据队列(oeasy教您玩转python-010)(4)

python 数据队列(oeasy教您玩转python-010)(5)

不换行

print("hello",end='')

python 数据队列(oeasy教您玩转python-010)(6)

结尾还是换行

print("hello\n",end='') print("hello")

总结,