Lesson goal: For loops to make a star

Previous: Plot a circle | Home | Next: Plot a sine wave

You can use a for-loop to plot a star pattern too, by using the for loop to count angles around a circle.

Now you try. Try fixing the r= statement and the line statement as directed.

Type your code here:

See your results here: