先占坑 1.如何让 print 不换行 在Python中总是默认换行的 但在 3.x 中这样不起任何作用 要想换行你应该写成 print(x,end = '' ) >>> for x in range(0,10): print (x,end = '') 0123456789