Question: The American Red Cross wants you to write a program that will calculate the average pints of blood donated during a blood drive. The program
The American Red Cross wants you to write a program that will calculate the average pints of blood donated during a blood drive. The program should take in the number of pints donated during the drive, based on a seven hour drive period and store the values in a list. The average pints donated during that period should be calculated and displayed. Additionally, the highest and the lowest number of pints donated should be determined and displayed. Write a loop around the program to run multiple times.
Step by Step Solution
3.38 Rating (154 Votes )
There are 3 Steps involved in it
def main numdrives intinputEnter the number of blood drives for drivenum in range1 numdrives 1 print... View full answer
Get step-by-step solutions from verified subject matter experts
