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.
width
width of the ellipse
height
height of the ellipse
color
the 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 ede3c94 (Fri, 23 May 2025 14:43:18 GMT)