Star Student Builder logoStar Student Builder
← Coding games Draw itβ˜…β˜…β˜…β˜…

Rangoli Squares

🎨 Draw this picture: twelve squares turned around the same centre, with a ring of dots outside them.

πŸ’‘ Hint: Put the square loop inside another loop that turns 30 degrees each time.

The picture to match

Your program
Show me one answer
colour purple
repeat 12 [ repeat 4 [ forward 60 right 90 ] right 30 ]
colour orange
repeat 12 [ penup forward 90 pendown dot 6 penup back 90 pendown right 30 ]
Ask GuruAcharya Samayeshwar