Cross Product of two Strings by nn

for(;;)print.apply([a,b]=readline().split(' '),[a[i]+b[j]for(i in a)for(j in b)])

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

download

return to the top page