The end parameter is used to append any string at the end of the output of the print statement in python.
By default, the print method ends with a newline. This means there is no need to explicitly specify the parameter end as '\n'. Programmers with a background in C/C++ may find this interesting.
Let us look at how changing the value of the end parameter changes the contents of the print statement onscreen.