a diagonal of a polygon is an segment between two non - adjacent vertices of the polygon . how many diagonals does a regular 20 - sided polygon have ?
n0 = 20.0
t0 = n0 - 3.0
t1 = n0 * t0
answer = t1 / 2.0
print(answer)