Question: Sim City Land Value Calculator Version 4: Calculate statistics Finally, let's calculate the maximum and average values in the grid, then display these stats. What




Sim City Land Value Calculator Version 4: Calculate statistics Finally, let's calculate the maximum and average values in the grid, then display these stats. What to do Implement find_max() and find_average() functions that calculate the maximum and the average values in the grid and update the main() function so that it prints them. You must use the following template: Hints To make sure your program works correctly, you should test it. - Run your program with python simcity4.py with data_.txt Your program should print: Average land value in this city: 9 Maximum land value in this city: 16 - Run your program with python simcity4.py with data_1.txt Your program should print: - Run your program with python simcity4.py with data_2.txt Your program should print: STATS Average land value in this city: 53227 Maximum land value in this city: 96000 - Run your program with python simcity4.py with data_3.txt Your program should print: - Run your program with python simcity4.py with data_4.txt Your program should print: STATS Average land value in this city: 45812 Maximum land value in this city: 83000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
