force print not to newline python code example Example: python print without new lines print('Foo', end='')