+
95
-

回答

缓冲刷新一下即可

import sys
print("hello")
sys.stdout.flush()  # 刷新输出

网友回复

我知道答案,我要回答