This may seem a bit silly or obvious to a lot of you, but how can I print a string after entering an input on the same line?
What I want to do is ask the user a question then they enter their input. After they press enter I want to print a selection of text, but on the same line after their input, instead of the next.
At the moment I am doing something the following for regular input/output:
Example = input()
print("| %s | Table1 | Table2 | Table3 |" % (Example))
Which outputs:
INPUT
| INPUT | Table1 | Table2 | Table3 |
However, what I would like to get is just:
| INPUT | Table1 | Table2 | Table3 |
Thank you for your time.