2017-02-14 85 views

回答

3

默認情況下print總是添加一個換行符。

打印(*對象,九月=」」,端= '\ n',文件= sys.stdout的,齊平=假)

這可以supressed:

print(output, end='') 
相關問題