n section by rolf

while 1:
 n,s=raw_input().split();q=len(s)/int(n)
 while s:print s[:q],;s=s[q:]
 print

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page