Basic - Connecting Points Along a Circle to Form a Polygom

Hi there - this is a very basic problem that I am trying to solve in order to gain a better understanding of lists/trees/data management. This could easily be done with the polygon tool but, again, am trying to improve my understanding of grasshopper in this way.
I have divided a circle into x number of points, odd or even. I then want to connect every adjacent point so a polygon is formed. I have successfully isolated every other point but I run into problems when I divide the circle into an odd number of points. Let me know your strategy for this. Thank you

Don’t do that. If your model only works with an even number of points, make sure you always have an even number. Sliders have options for “E” (Even) or “O” (Odd) integers.

3. Attach minimal versions of all the relevant files