Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You already have learned how to use a 2 D list. Today we utilize the 2 D list to solve the problem. You are given
You already have learned how to use a D list. Today we utilize the D list to solve the problem. You are given an input file inputcsv Download input.csv where a list of students and their grades are listed. Your task is to read the file content, populate the D list, and finally do some calculations min max, median, and average for each course. You CAN NOT use any builtin functions, like min, max, sort, etc. as well as csv module in this assignment. However, for the median, you can ONLY use a builtin function from the statistics module. After calculating these, you need to store them in an output file. A sample output file outputcsv Download output.csv is given for the corresponding input file. I may use different input files which will generate different output files. Before submitting your inclass, make sure your code runs correctly and generates the specified output file. You may use a different input file for your test case.
You are only supposed to submit the py file named as firstnamelastnamedlist.py before the deadline.
Rubrics
a Use the coding format given in the class which should contain a main docstring, and several utility functions based on your need.
b Populate a D list from the input file
c Calculation with several utility functions
d Store the results in the output file
Step 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