Calculate the internal angles of a regular polygon with N sides
Perl 6, 8 bytes



π- τ/*


Try it online!

Output in radians. Simple function in WhateverCode notation which computes \$π-τ/n\$. \$τ\$ is the constant tau equaling \$2π\$.