print(*y1,sep('\n')) code example
Example: 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 :)
>>> from __future__ import print_function
>>> print('one', 'two', 'three', sep='')
onetwothree
#doesn't work for me, but still hope it might work for you :)