python print go next line automatically code example Example: python print without new lines print('Foo', end='')