Python Programs | IT Developer
IT Developer

Python Programs



Share with a Friend

Use sep and end in print() - Python Program

# Customizing separator and end behavior of print function print("Python", "is", "fun", sep="-", end="!\n")

Output

 
OUTPUT :
Python-is-fun!