Pileup by betaveros

s=raw_input().split();i=0
while 1:print" ".join(s);k=s[i+1];b=len(k);j=s[i]+k;s[i:i+2]=j[:b],j[b:];i+=1

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

download

return to the top page