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 c30aa49 (Tue, 25 Nov 2025 16:55:08 GMT)