Pentagon of each side 15 units
Decagon of each side 10 units
Let's try to draw this
Copy this pattern in the notebook, write down the step by step sequence for it:
t.fd( ) t.lt( )
t.fd( ) t.lt( )
t.fd( ) t.lt( )
t.fd( ) t.lt( )
t.fd( ) t.lt(90)
fd is just repeating with different number!
What is the formula for the pattern?
What is the range for the pattern?
while width in range([start], [stop-1]): t.fd( [formula with width] ) t.lt(90)
Extra challenge - combining with color function