You are viewing a single comment's thread. Return to all comments →
without using textwrap s=raw_input().strip() w=int(raw_input()) for i in range(0,len(s)+1,w): print(s[i:w+i])
Seems like cookies are disabled on this browser, please enable them to open this website
Text Wrap
You are viewing a single comment's thread. Return to all comments →