Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Difference between end and sep python

a = 2
b = 'monday'
print(a, b, sep='-')
print(a, b, end='-')

'''
OUTPUT:
2-monday
2 monday-
'''
 
PREVIOUS NEXT
Tagged: #Difference #sep #python
ADD COMMENT
Topic
Name
2+3 =