How to print without a newline or space in Python?

You can use sep= or end= with the print method to print without a newline or space in Python as shown in the below example –

Leave a Reply

Close Menu