输出不换行:在python 2.x版本中,使用“,”,不含双引号
print '*',
在python 3.x版本中
print(x, end="")
输出换行分隔符
中间添加 print('')即可
参考: