Problem: * Draw a Sun with the Turtle

Add a [Sun] button that draws a sun with 36 beams, as on the figure below:

Hints:

  • The entire circle consists of 360 degrees = 36 * 10 degrees
  • Think about how many times you will move the turtle forward, then rotate, then move the turtle back, etc.

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

results matching ""

    No results matching ""