Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Spatio Temporal Database Management International Workshop Stdbm 99 Edinburgh Scotland September 10 11 1999 Proceedings Lncs 1678

Authors: Michael H. Bohlen ,Christian S. Jensen ,Michel O. Scholl

1999th Edition

3540664017, 978-3540664017

More Books

Students also viewed these Databases questions

Question

4. Are there any disadvantages?

Answered: 1 week ago

Question

fscanf retums a special value EOF that stands for...

Answered: 1 week ago