<filename>learn1/34.py
import textwrap as w

s = 'abcda'
d = 2


print('\n'.join(i for i in w.wrap(s, width=2)))

<filename>learn1/34.py
import textwrap as w

s = 'abcda'
d = 2


print('\n'.join(i for i in w.wrap(s, width=2)))
