user
Task: Given a list of students and their grades, calculate the average grade of the class.
Input: [{name: "John", grade: 85}, {name: "Jill", grade: 75}, {name: "Bob", grade: 95}, {name: "Sally", grade: 80}]
Output:
assistant
The average grade for the class is 83.75.