input: Write a function to compute the average salary of people from the dataset 'salary.csv'. The function should return the average salary as a floating-point number. If the file is empty, it should return 0.0.
  assert get_average_salary('salary.csv')==2000.0
  assert get_average_salary('empty_file.csv')==0.0
  assert get_average_salary('salary_with_one_entry.csv')==2500.0
  assert get_average_salary('salary_with_multiple_entries.csv')==3000.33
output: def get_average_salary(filename):
      try:
          with open(filename, 'r') as file:
              salaries = [float(line.strip()) for line in file]
              if not salaries:
                  return 0.0
              return sum(salaries) / len(salaries)
      except FileNotFoundError:
          return 0.0