print('', end='')

print函数的end参数,从python3才开始支持,所以如果要使用这种模式,需要对应使用python3

posted @ 2017-05-16 04:28  专属9号  阅读(632)  评论(0编辑  收藏  举报