1491. Average Salary Excluding the Minimum and Maximum Salary Обновлено: 2024-03-12 1 мин Algorithms , LeetCode СодержаниеLeetCode problem 1491class Solution: def average(self, salary: List[int]) -> float: s = sum(salary) - min(salary) - max(salary) return s / (len(salary) - 2)