Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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) 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.jsonStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started