📜  python 打印同一行 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:39.675000             🧑  作者: Mango

代码示例5
# Python 2 only
print "Seven"
# Backwards compatible (also fastest)
import sys
sys.stdout.write("Nice film")
# Python 3 only
print("Mob Psycho 100", end="")