how to print in python without newline with if code example Example 1: python not jump next line print('.', end='') Example 2: python print without new lines print('Foo', end='')