print ohne newline python code example Example 1: print new line python print("\n") Example 2: python print without new lines print('Foo', end='')