MatriXOR by recursive

R=raw_input
f=R()
for g in[f]+[R()for _ in f]:print"".join(" O"[a!=b]for a,b in zip(g,R()))

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

download

return to the top page