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 1cd5229 (Tue, 05 Nov 2024 16:55:57 GMT)