A  TRIANGLE HAS 3 SIDES

A SQUARE HAS 4 SIDES

A PENTAGON HAS 5 SIDES

A HEXAGON HAS SIX SIDES

AN OCTOGON HAS 8 SIDES

A SEPTAGON HAS 7 SIDES

A NANOGON HAS 9 SIDES

A DECAGON is a  10-SIDED POLYGON

Author- Shriranjani, IT for Change, Bengaluru
License- CC BY SA 4,0

a = 3 (slider from 3 to 20, step 1)
A = (6.3502, -2.9358)
B = (9.3502, -2.9358)
poly1, b, a_1, c, d, e, f, g, h, i, j, k, l, m, n, p, q, r, s, t, b_1, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T = Polygon(A, B, a)