Python中end=和sep=的区别:

end: 默认是换行,表示两个字符串最后以什么结尾。eg: 换行  end="\n"

sep: 默认是空格,表示两个字符串之间用什么分割。eg: 空格  sep="  "

Python中end=和sep=的区别:_第1张图片 标题

 

你可能感兴趣的:(Python中end=和sep=的区别:)