21. Checkerboard with tile()

Easy

Create an 8×8 checkerboard matrix by repeating a small 2×2 tile pattern of 0s and 1s across the full array (top-left is 0).

Output

[[0 1 0 1 0 1 0 1]
 [1 0 1 0 1 0 1 0]
 [0 1 0 1 0 1 0 1]
 [1 0 1 0 1 0 1 0]
 [0 1 0 1 0 1 0 1]
 [1 0 1 0 1 0 1 0]
 [0 1 0 1 0 1 0 1]
 [1 0 1 0 1 0 1 0]]

Sign in to write and run your own code.

Implement solve(...)