Given a
grid, you are asked to draw an X using list comprehension. Can you do it?The filled cells need to be
x
and the empty ones should be o
.Output
xooox
oxoxo
ooxoo
oxoxo
xooox