When drawing things, Canvas sets up a window where our drawings will appear and returns a reference to it (saved in canvas). The mainloop function makes the canvas continue to display itself even after the user hits the X button on the program. Always include mainloop().
def main ():
def main ():
Coordinate of the top left corner of the canvas is (0,0)
Coordinate of the top right corner of the canvas is (CANVAS_WIDTH, 0)
Coordinate of the bottom left corner of the canvas is (0, CANVAS_HEIGHT)
Coordinate of the bottom right corner of the canvas is (CANVAS_WIDTH, CANVAS_HEIGHT)