是否可以在不使用 Python 中的打印功能的情况下进行打印?

Gar*_* BN 3 python printing stdout

我想知道是否可以在没有该print函数的情况下在 Python 中打印(例如字符串)。这可以通过命令或一些技巧来完成。

例如,在 C 中有printfputs

有人可以告诉我打印或否认这种可能性的方法吗?

Gre*_*ade 5

sys.stdout.write("hello world\n")
Run Code Online (Sandbox Code Playgroud)