Question: Program 2 : grades.py For your second program in today s lab, you will need to write a program that stores student s exam grades

Program 2: grades.py
For your second program in todays lab, you will need to write a program that stores students exam
grades as a list and student attendance as a set. Your program will then need to print out the answers to
the following questions:
1. Grades
a. How many students took the exam?
b. What was the highest exam grade?
c. What was the lowest exam grade?
d. What was the class average for the exam?
2. Attendance
a. How many students attended the class?
b. Who attended both days of class?
c. Who attended only one day of class?
Report any floating-point values to 1 decimal place.
Grades List
Exam Grades: 83,85,72,65,76,90,79,88,93,70,67,80
Attendance Sets
Day 1: Mary, Jake, Sam, Alex, Percy, Jessica, Trent, Mahmoud
Day 2: Jake, Sam, Alex, Percy, Mahmoud, Trent, Caleb, Zayne

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 Databases Questions!