python 2 print in one line code example
Example 1: python print in one line
print(item, end=" ")
Example 2: how to print multiple strings on one line in python
number1 = 6
number2 = 10
print(number1, " + ", number2
print(item, end=" ")
number1 = 6
number2 = 10
print(number1, " + ", number2