print if of n in same line python code example Example: python print without new lines print('Foo', end='')