Python Program to Print Output Without a Newline




Hi guys,

In this blog, how to print output without a new line. there is an additional parameter introduced for print() called end=. This parameter takes care of removing the newline that is added by default in print().

Python print() built-in function is used to print the given content inside the command prompt. The default functionality of Python print is that it adds a newline character at the end.

Here i will give you simple example of print output without a newline. So let's see the below example:

Example 1

# print each statement on a new line


print("is high level language.")

# new line


# print both the statements on a single line

print("Python", end=" ")

print("is high level language.")



is high level language.

Python is high level language.

It will help you....

Recommended Posts