Cross Product of two Strings by 0mg

for(;;)print.apply([s,t]=readline().split(" "),[s[i]+t[j]for(i in s)for(j in t)])

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

download

return to the top page