Question: 1 1 . 4 LAB: Average exam scores ( NumPy arrays basic ) Write a program that reads two sets of exam scores of five

11.4 LAB: Average exam scores (NumPy arrays basic)
Write a program that reads two sets of exam scores of five students from user input and stores the scores into two NumPy arrays (exam1 and exam2). The program then calculates the average of the two exams for each of the five students and outputs the average scores as a NumPy array. The program finally counts the number of average scores that are 80 or higher and outputs the count.11.4 LAB: Average exam scores (NumPy arrays basic)
Write a program that reads two sets of exam scores of five students from user input and stores the scores into two NumPy arrays (exam1
and exam2). The program then calculates the average of the two exams for each of the five students and outputs the average scores as a
NumPy array. The program finally counts the number of average scores that are 80 or higher and outputs the count.
Ex: If the input of the two sets of scores are:
where [7580658292] is stored in NumPy array exam1, and [8885759573] is stored in NumPy array exam2. The program then outputs:
Average scores: [81.582.570.88.582.5
1 1 . 4 LAB: Average exam scores ( NumPy arrays

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!