print without new line in python2 code example Example: python print without new lines print('Foo', end='')