At My Fingertips
Rapid Playground
In this activity we will implement the double_black_diamond
function that recreates the following graphic.
The first thing we need is a rhombus
function. We have an activity that will guide you through the implementation of a rhombus
function, therefore we suggest solving that first, and copy-pasting your code in here.
Let's check how your code behaves by showing a black rhombus:
Now you are ready to implement the double_black_diamond
function, that returns two rhombuses next to eachother: use the rhombus
function that you implemented. Under the diamonds there should be a black label saying "EXPERTS ONLY" in Fira Sans font. Use the pytamaro text function to generate a text graphic.
This activity has been created by LuCE Research Lab and is licensed under CC BY-SA 4.0.
Double Black Diamond
PyTamaro is a project created by the Lugano Computing Education Research Lab at the Software Institute of USI
Privacy Policy • Platform Version c08406b (Wed, 20 Nov 2024 12:30:00 GMT)