Session 1, #5: Additional Challenges: Colors
These are engaging exercises that are not needed for the flow of the course but for students who finished the first parts early.
Often, having multiple turtles in a program can be useful. For example, we can create a turtle whose draws in blue and another in green:
There are more than 100 colors that we can use by name. For example:
Some are obvious, like (red or blue), others are a bit more obscure (like darksalmon or chartreuse).
Challenges:
• What color is darksalmon? Change the color of one of the turtles in the coding window above to find out.
• What color is chartreuse? Change the color of one of the turtles in the coding window above to find out.
•
Add in a new turtle and make it your favorite color. Draw a few lines to demonstrate its color.