In a script like this:
inp = input('')
print(inp)
When I run it, I enter my text and get it back:
$python3 test.py
Hello (keyboard input)
Hello (Print command)
But how do I get the result more like this after I press enter:?
$python3 test.py
Hello (Print command)