Implement the equilateral_triangle function, the isosceles_triangle function and the right_triangle function to recreate the following graphics.
Your implementations should use PyTamaro's more general triangle function.
An equilateral triangle has all sides of the same length and all angles of 60°.
An isosceles triangle has two sides with the same length.
A right triangle has an angle of 90°.
Now let's check your result! Using #, comment and uncomment the show_graphic statements one at a time to check your results one by one.
This activity has been created by LuCE Research Lab and is licensed under CC BY-SA 4.0.
Triangles

PyTamaro is a project created by the Lugano Computing Education Research Lab at the Software Institute of USI
Privacy Policy • Platform Version 3ec0cab (Tue, 28 Oct 2025 16:56:29 GMT)