Code Sketch


Heptagon and Octagon
By: Reinal Rajan Satardekar
clear()
setSpeed(fast)
setPenColor(black)
setFillColor(red)
setPenThickness(5)
repeat(7) {
    forward(100)
    left(51.42)
}

setPosition(125, 0)
setPenColor(black)
setFillColor(orange)
setPenThickness(5)
repeat(8) {
    forward(100)
    right(45)
}