Q:

How can I print a string on the same line as the input() function?

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.

A:

From what I understood you want the input of the user to be replaced by the output of the program. So what you would need would be to delete some characters before printing. I think that this post here contains the answer you want:
How to overwrite the previous print to stdout in python?
Edit:
From the comment, maybe you can use this solution instead, it seems "harsh" but could do the job :
remove last STDOUT line in Python

