input: 
  def get_average_salary(filename):
      """
      Compute the average salary of people from a CSV file 'filename'.
      The CSV file should have a header 'name, salary'. The function reads the file,
      skips the header, and computes the average salary from the remaining rows.
      
      Example:
      >>> 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:     
      import csv
  
      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 if count > 0 else 0
  