PROGRAM ROUTINE triangle BEGIN FORWARD 50; ROTATE 120; FORWARD 50; ROTATE 120; FORWARD 50; END BEGIN PEN DOWN; CALL triangle; CALL triangle; CALL triangle; END.