For an X by Y Minesweeper grid, build a DataFrame with columns 'x' and 'y' containing every coordinate, ordered (0,0), (0,1), ..., (1,0), ....
X
Y
'x'
'y'
(0,0), (0,1), ..., (1,0), ...
Input
X = 5, Y = 4
This one's part of Premium. Unlock the full Pandas track plus every other premium problem on the site.
solve(...)