Predict
Which Pixel Lights Up?
On a canvas, x is the column (counting from the left) and y
is the row (counting from the top). Both start at 0.
x=0 x=1 x=2 x=3 x=4
y=0 . . . . .
y=1 . . . . .
y=2 . . . . .
y=3 . . . . .from pyquest import Canvas
c = Canvas(5, 4)
c.set(3, 1, "gold")
c.show()