Question: python 9.6 (Class Average: Writing a Gradebook Dictionary to a JSON File) Reimplement Exercise 9.3 using the json module to write the student information to

python 9.6 (Class Average: Writing a Gradebook Dictionary to a JSON File)python

9.6 (Class Average: Writing a Gradebook Dictionary to a JSON File) Reimplement Exercise 9.3 using the json module to write the student information to the file in JSON format. For this exercise, create a dictionary of student data in the following format: gradebook_dict - {'students': (student I dictionary, student2dictionary, ...]} Each dictionary in the list represents one student and contains the keys 'first_name', "last_name', 'examl', 'exam2' and 'exam3', which map to the values representing each student's first name (string), last name (string) and three exam scores (integers). Output the gradebook_dict in JSON format to the file grades.json

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!