input: 
  def get_average_salary(filename: str) -> float:
      """Compute the average salary from a CSV file containing names and salaries.
      The function reads a CSV file with headers 'name' and 'salary', computes the average
      salary of all entries, and returns the average as a floating-point number.
  
      >>> get_average_salary('salary.csv')
      2000.0
      """
      total = 0
      count = 0
  
      with open(filename, 'r') as csvfile:
          csvreader = csv.reader(csvfile)
          next(csvreader)  # skip header
  
          # Loop through the CSV rows
          for row in csvreader:
              total += int(row[1])
              count += 1
  
      return total / count
  
output:     total = 0
      count = 0
  
      with open(filename, 'r') as csvfile:
          csvreader = csv.reader(csvfile)
          next(csvreader)  # skip header
  
          # Loop through the CSV rows
          for row in csvreader:
              total += int(row[1])
              count += 1
  
      return total / count