Question: First Back #474) Max on Other Field (2/4 completed Next Last I Saved BlockPy: #47.4) Max on Other Field You are so pleased with your

First Back #474) Max on Other Field (2/4 completed Next Last I Saved BlockPy: #47.4) Max on Other Field You are so pleased with your employees, you have decided to promote one There is a file available named "employees.json" , which contains a list of dictionaries, each of which represents an employee. Use the load function of the json module and the open built-in function to access the data in this file to find the employee with the highest sales record. You should follow the Max pattern previously seen, but you will need to modify it in order to find the "Name" of the employee with the highest "New Sales" Server Execution Tip: Start by calculating the the maximum of the "New Sales" field. Now, what additional information do you need to store in order to print the final result? Files Available: employees.json Console Feedback: nitialization Problem The variable max_item was used on line 4, but it was not given a value on a previous line. You cannot use a variable until it has been given a value. Algorithm Error Run BlocksSplitTextReset Upload- 2 History First Back #474) Max on Other Field (2/4 completed Next Last I Saved BlockPy: #47.4) Max on Other Field You are so pleased with your employees, you have decided to promote one There is a file available named "employees.json" , which contains a list of dictionaries, each of which represents an employee. Use the load function of the json module and the open built-in function to access the data in this file to find the employee with the highest sales record. You should follow the Max pattern previously seen, but you will need to modify it in order to find the "Name" of the employee with the highest "New Sales" Server Execution Tip: Start by calculating the the maximum of the "New Sales" field. Now, what additional information do you need to store in order to print the final result? Files Available: employees.json Console Feedback: nitialization Problem The variable max_item was used on line 4, but it was not given a value on a previous line. You cannot use a variable until it has been given a value. Algorithm Error Run BlocksSplitTextReset Upload- 2 History
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
