Cross Product of two Strings by twobit

while{}do
a=io.read()s=""for x in a:gfind"."do
s=s..a:match"%S+$":gsub(".",x.."%0 ")end
s:gsub("^(.-)  ",print)end

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

download

return to the top page