sep python code example
Example 1: python 2 print sep end
>>> from __future__ import print_function
>>> print('one', 'two', 'three', sep='')
onetwothree
#doesn't work for me, but still hope it might work for you :)
Example 2: sep in python
import time
def count_items(items):
print('Counting ', end='', flush=True)
num = 0
for item in items:
num += 1
time.sleep(1)
print('.', end='', flush=True)
print(f'\nThere were {num} items')