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.

If you have a problem with the above exercises, ask for help in the SoftUni official discussion forum (https://www.reddit.com/r/softuni) or in the SoftUni official Facebook page (https://fb.com/softuni.org).

results matching ""

    No results matching ""