23.4k views
1 vote
This is python, how can i get the output on one line?

This is python, how can i get the output on one line?-example-1
User McShaman
by
8.4k points

1 Answer

4 votes

Answer: Your welcome!

Step-by-step explanation:

You can use the print() function and separate each statement with a comma (,). For instance, print('Hello', 'World') will output 'Hello World' on one line.

User Tenhjo
by
7.8k points