2.x版本中使用print '\n' * n #n为行数 3.x版本中使用print('\n' * n) #n为行数 print 'Hello', :不会换行。【加上逗号(,)】 转载于:https://www.cnblogs.com/xiyuan2016/p/7115567.html