print numbers in same line in python code example
Example 1: python print without new lines
print('Foo', end='')
Example 2: printing a range of no one line in python
for x in range(1,11):
print(x, end=" ")
print('Foo', end='')
for x in range(1,11):
print(x, end=" ")