print()函数的end 参数

print()函数含end参数时:结束的时候已什么结尾,后面的参数可以是任何形式

print() 默认以'\n'  结尾

输出结果:

 

 print()函数不含end参数时:

输出结果:

 

 

posted @ 2018-03-29 17:36  我家小海星  Views(4062)  Comments(0Edit  收藏  举报