end and sep are optional parameters of Python. The end parameter basically prints after all the output objects present in one output statement have been returned. the sep parameter differentiates between the objects.
EXAMPLE:
a=2
b='abc'
print(a,b,sep=',')
print(a,b,end=',')
OUTPUT:
2,abc
2 abc,