Draw a star without the crossing lines

Challenge Level: Growing experience

Learning outcomes

Students will be able to:

Requirement:

Write a program that draws a 6-pointed star (without the crossing lines).

A 6 pointed star with no lines crossing.

Testing examples:

There are no testing examples for this challenge.

Languages

Scratch

What it should look like

Click on the green flag to see the expected output of your program.

Recommended blocks
when green flag clicked
clear

pen down

pen up

set pen size to (3)

change pen color by (30)
go to x: (50) y: (0)

move (50) steps

turn cw (120) degrees

move (50) steps

turn ccw (60) degrees
repeat (6)
end
Hints
  • The inside angles of a 6-pointed star are each 60 degrees.
  • The outside angles of a 6-pointed star are each 120 degrees.

Show Scratch solution