Implement the house function to recreate the following graphic.
The graphic is composed by a red equilateral triangle for the roof and a white square for the wall, placed one above the other in the correct order.
Use the pytamaro functions triangle, rectangle and above, as well as the imported red and white colors.
Try it yourself!
This activity has been created by LuCE Research Lab and is licensed under CC BY-SA 4.0.
House

PyTamaro is a project created by the Lugano Computing Education Research Lab at the Software Institute of USI
Privacy Policy • Platform Version 51af85f (Tue, 18 Nov 2025 10:59:34 GMT)