At My Fingertips
In this activity you will compose a market stall, like those used for markets in the city of Bellinzona, in the Swiss Canton of Ticino.
Assume you have a friend who does not see the figure below:
Sure, you could say it's a market stall! But assume your friend is an alien and has not the slightest idea what those words mean. How would you describe it then?
Implement the bellinzona_market_stall
function below, so it draws a stall like the one above.
Create auxiliary functions.
You can use the given colors and sizes (all the sizes are derived from the given height).
Did you wonder why the stalls have this kind of awning, with bands with widths of a quarter, a half, and a quarter?
The colors are the colors of Canton Ticino, the state of which Bellinzona is the capital.
The widths of the bands are perfect for when you put multiple stalls next to each other, like you usually see it in markets.
This activity has been created by LuCE Research Lab and is licensed under CC BY-SA 4.0.
Bellinzona Market Stall
PyTamaro is a project created by the Lugano Computing Education Research Lab at the Software Institute of USI
Privacy Policy • Platform Version c3a8286 (Mon, 14 Oct 2024 13:30:28 GMT)