Avatar ·

Output in one line from different print statements in python

📁 function, string, Advanced Python Topics

I need to make the print() function, written like this:

print('a')print('b')print('c')

output something like this:

> C:\\Users\\User\\Documents> python test.pyabc

It should output in one line, but the print() statements are on different lines in the code!
I would be very grateful if someone could help.