2.x版本中使用print '\n' * n #n为行数

3.x版本中使用print('\n' * n) #n为行数

 

print 'Hello',  :不会换行。【加上逗号(,)】

相关文章: