checkers pattern by potato

R,C=map(int,raw_input().split())\x0d
print'\n'.join(' '.join(`(c+r%2+1)%2`for c in range(C))for r in range(R))\x0d

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

download

return top