input: Write a function to compute the average salary of people from a given CSV file containing columns 'name' and 'salary'. The function should take the filename as input and return the average salary.
  assert get_average_salary('salary1.csv') == 2000.0
  assert get_average_salary('salary2.csv') == 1500.0
  assert get_average_salary('salary3.csv') == 3000.0
output: def get_average_salary(filename):
      total_salary = 0
      count = 0
      with open(filename, 'r') as file:
          next(file)  # Skip header
          for line in file:
              name, salary = line.strip().split(',')
              total_salary += float(salary)
              count += 1
      return total_salary / count