As we will continue working with the Turtle graphics library, we'll learn how to draw using existing functions. As well as how to use a FOR loop for repetitive tasks. As part of this project you will learn:
With the for loop, we can execute a set of statements, once for each item in a list or as many times as indicated.
This piece of code prints the same value 6 times
Type the code as follows:
Now draw a rectangle and fill it with blue colour. It will represent water. We will use the following commands:
Two white triangles will represent the right and left sail. Make sure you use right() or left() functions with the correct angle to draw a triangle
To finish up our sailboat drawing let's add a sun to the sky. To draw a sun we will use the circle command.
Optional: Add your own details to the drawing, you might want to improve the boat, add clouds or anything else.
In order to receive your completion certificate all projects should be submited before 6th April 2023
You have completed this project.