2017-02-14 89 views

回答

3

默认情况下print总是添加一个换行符。

打印(*对象,九月=””,端= '\ n',文件= sys.stdout的,齐平=假)

这可以supressed:

print(output, end='') 
相关问题