# print with no end of line print("Hello world", end='') # if there are some buffering issues, try : print("Hello world", end='', flush=True)