input: Write a Python function to compute the average score for a list of students, where each student has a name followed by their scores in different subjects.
  assert getAverageScores([['Bob', 43, 54, 66], ['James', 53, 45, 42]]) == [['Bob', 54.33], ['James', 46.67]]
  assert getAverageScores([['Grace', 43, 44, 59], ['Martin', 42, 42, 51]]) == [['Grace', 48.67], ['Martin', 45.00]]
  assert getAverageScores([['Alice', 90, 80, 70], ['Eve', 100, 95, 85]]) == [['Alice', 80.00], ['Eve', 93.33]]
output: def getAverageScores(students):
      result = []
      for student in students:
          name = student[0]
          scores = student[1:]
          average_score = round(sum(scores) / len(scores), 2)
          result.append([name, average_score])
      return result