Python print() function will print a newline. However, if you do not want to a newline, how to do? In this tutorial, we will introduce how to do.
Here is an example:
print("I am a sentence", "I am also a sentence", sep="; ", end="")
Run this code, you will see:
I am a sentence; I am also a sentence