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