Cross Product of two Strings by Hendrik

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

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

download

return to the top page