clear() showAxes() showGrid() setPenColor(black) setFillColor(yellow) def pentagon (step:Long, size:Double):Unit = if(step ==0){ () } else{ forward(size) right(360/8) pentagon(step-1,size) } pentagon(8,100)