Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

gradebook.py contains: gradebook = [[61, 74, 69, 62, 72, 66, 73, 65, 60, 63, 69, 63, 62, 61, 64], [73, 80, 78, 76, 76, 79,

gradebook.py contains: gradebook = [[61, 74, 69, 62, 72, 66, 73, 65, 60, 63, 69, 63, 62, 61, 64], [73, 80, 78, 76, 76, 79, 75, 73, 76, 74, 77, 79, 76, 78, 72], [90, 92, 93, 92, 88, 93, 90, 95, 100, 99, 100, 91, 95, 99, 96], [96, 89, 94, 88, 100, 96, 93, 92, 94, 98, 90, 90, 92, 91, 94], [76, 76, 82, 78, 82, 76, 84, 82, 80, 82, 76, 86, 82, 84, 78], [93, 92, 89, 84, 91, 86, 84, 90, 95, 86, 88, 95, 88, 84, 89], [63, 66, 55, 67, 66, 68, 66, 56, 55, 62, 59, 67, 60, 70, 67], [86, 92, 93, 88, 90, 90, 91, 94, 90, 86, 93, 89, 94, 94, 92], [89, 80, 81, 89, 86, 86, 85, 80, 79, 90, 83, 85, 90, 79, 80], [99, 73, 86, 77, 87, 99, 71, 96, 81, 83, 71, 75, 91, 74, 72]]

In this programming assignment, you are to modify the attached gradebook.py file to display the average of each students grade and the average for each assignment. The gradebook.py file can be found attached to this assignment inside the gradebook.py.zip file.

gradebook.py contains a two-dimensional array representing the grades for a made-up course. Each row of the array represents a student, while each column of the array represents an assignment.

You should not hard-code (embedding the solution) in your program. Your program should take any two-dimensional array and return the average of each row and column.

attached are screenshots of the example given, FOR THE SOLUTION follow the instructions for the gradebook.py file containing the two-dimensional array posted above.

image text in transcribedimage text in transcribed

Attached Program File - gradebook.py.zip In this programming assignment, you are to modify the attached gradebook.py file to display the average of each students grade and the average for each assignment. The gradebook.py file can be found attached to this assignment inside the gradebook,py.zip file. gradebook.py contains a two-dimensional array representing the grades for a made-up course. Each row of the array represents a student, while each column of the array represents an assignment. You should not hard-code (embedding the solution) in your program. Your program should take any two-dimensional array and return the average of each row and column. If the following two-dimensional array was contained within the python file: -EL100, 100, 100, 96, [97, 87, 92, 887, [91, 90, 92, 9117 gradebook Then you can think of the two-dimensional array as the following spreadsheet: Assignment Assignment 2 Assignment 3 Assignment 4 Student 1: 100 100 100 96 Student 2 97 87 92 Student 3: 91 90 92 91

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Harness The Power Of Big Data The IBM Big Data Platform

Authors: Paul Zikopoulos, David Corrigan James Giles Thomas Deutsch Krishnan Parasuraman Dirk DeRoos Paul Zikopoulos

1st Edition

0071808183, 9780071808187

More Books

Students also viewed these Databases questions