rotate lines reversely by nn

for(s=t='';(l=readline())+0;t=l+'\n')t?s+=t:0;print(t+s)

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

download

return to the top page