concept same line in category python
appears as: same line

This is an excerpt from Manning's book Hello World! Third Edition.
If you want the user to type their answer on the same line as the message, add , end='' to the end of the print() statement, like this: