stdou,write与print() stdou,write() 1、打印的结果不会自动换行 2、在使用前需要调用函数stdout (from sys import stdout ) print() 打印的结果会自动换行 例子一: 例子二: