You can use the end parameter in the print function to specify what character should be printed at the end of the line. For example, if you want to print two words on the same line with a space between them, you can use print(hello, end= ) and then print(world) to print hello world on the same line.