📜  end 和 sep python 代码示例之间的区别

📅  最后修改于: 2022-03-11 14:46:40.308000             🧑  作者: Mango

代码示例1
a = 2
b = 'monday'
print(a, b, sep='-')
print(a, b, end='-')

'''
OUTPUT:
2-monday
2 monday-
'''