Reverse Repeated Printing by twobit

while""do
a=io.read()d=a:sub(-1)print(a:sub(1,1).." "..d.." "..1+#a-a:find(d))end

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

download

return to the top page