def regular_polygon_angle(side_amount: int) -> float:
    """
    Returns the inner angle of a polygon with the given amount of sides

    :param side_amount: amount of sides the polygon has
    :return:
    """
    return (side_amount - 2) * (180 / side_amount)