This task can be used to investigate or consolidate exterior angles in regular polygons. The code here can be used as a reference for educators. The square is the first shape as the interior and exterior angles are the same. It can also be used as a way to introduce the "repeat" block.
A full description of the task can be found at: https://sites.google.com/ocdsb.ca/codexplosion/home?pli=1