Problem: * Draw a Star with the Turtle

Add a [Star] button that draws a star with 5 beams (pentagram), as on the figure below:

Hint:

Change the color: Turtle.PenColor = Color.Green.

Repeat 5 times the following in a loop:

  • Forward step of 200.
  • 144 degrees rotation.

results matching ""

    No results matching ""