Space Index by hallvabo

while 1:
 r,s=raw_input().split(' ')
 for i in eval('0,'+r)[:0:-1]:s=s[:i]+' '+s[i:]
 print s

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

download

return to the top page