input: from typing import List
  
  def compute_average_salary(salaries: List[int]) -> float:
      """Compute the average salary from a list of salaries.
  
      >>> compute_average_salary([1000, 2000, 3000])
      2000.0
      """
output:     if not salaries:
          return 0.0
      total_salary = sum(salaries)
      return total_salary / len(salaries)