how to get print not to print a newline jin python code example Example: python print without new lines print('Foo', end='')