>>> s = 'sdfsffoeos919340-sdjanmzxcejf3adkadiiwadasdasdasd221'
>>> print('\n'.join(s[i:i+5] for i in range(0,len(s),5)))
sdfsf
foeos
91934
0-sdj
anmzx
cejf3
adkad
iiwad
asdas
dasd2
21
>>>
>>> s = 'sdfsffoeos919340-sdjanmzxcejf3adkadiiwadasdasdasd221'
>>> print('\n'.join(s[i:i+5] for i in range(0,len(s),5)))
sdfsf
foeos
91934
0-sdj
anmzx
cejf3
adkad
iiwad
asdas
dasd2
21
>>>