rotate lines reversely by meh

import string,sys;\x0d
s=sys.stdin;\x0d
a=[];\x0d
for l in s:\x0d
    a.append(l);\x0d
print string.join([a[-1]]+a[0:-1],'')

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

download

return to the top page