Assignment 10: Spiral design using triangle function
Description
A Turtle provides various functions to control it such as forward, left and circle. There may be certain functionality you wish you had but does not exist. Python allows a programmer to define functions to accomplish a desired process. The usefulness of functions can be extended by incorporating parameters into the definition.
Task
Define a function triangle that accepts color and size as parameters and draws a corresponding filled in triangle of specified color and size. Using a for loop to cycle through various colors or range of numbers, create a spiral design that pass the loop variable as an argument to either the color or size parameter of the triangle function.
Post a screen shot of the spiral design.
Post a screen shot of the code.