How to print in Python without a new line?

2 posts / 0 new
Last post
GAURANG
How to print in Python without a new line?

When we use print() function in Python, it prints every output in new line. So question is how to print without a new line?

GAURANG

Use print("anything here",end='')