1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
|
which line can be commented out for the program to still run normally? Note that this makes a triangle inside a square inside a pentagon inside a hexagon.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
I've never been to coding, my guess is the last five lines are doing the job of accumulation, and the last line about the equilateral triangle simply appears twice. Love to know what's really the case.