ellipse(width, height, color)
Creates an ellipse with the given width and height, filled with a color.
When width and height are the same, the ellipse becomes a circle with a diameter equal to the provided size.
widthwidth of the ellipse
heightheight of the ellipse
colorthe color to be used to fill the circle
show_graphic(ellipse(100, 50, red))show_graphic(ellipse(75, 75, black))
PyTamaro is a project created by the Lugano Computing Education Research Lab at the Software Institute of USI
Privacy Policy • Platform Version ae799c9 (Mon, 16 Feb 2026 09:42:15 GMT)