7.2 Draw a star with any odd number of points

Scratch solution

View solution

This is just one of many possible solutions:

whenclickedcleargotox:0y:0pendownaskEnter an odd number of points to draw a star:andwaitsetpointstoanswerrepeatpointsmove200stepsturn180-180/pointsdegreespenup

Back to programming challenge