Question: This is python3 and using visual studio code. Thanks! Your job is to write the following three functions that operate on lists of class scores

This is python3 and using visual studio code. Thanks! Your job isThis is python3 and using visual studio code. Thanks!

Your job is to write the following three functions that operate on lists of class scores between 0 and 100. 1. Function countScores InRange() should take as input a list of scores (each between 0 and 100), and numbers low and high, and return how many scores in the list are greater than or equal to low and strictly less than high. For example, countScoresInRange([75,82,85,92,84] ,80,90) should return 3. 2. Function scoresToGrades() should take a list of scores between 0 and 100, and return a list of strings with the letter grades (ignoring plus and minus) corresponding to those scores. For example, the call scoresToGrades ( [85,82,98,40,68,72,99]) should return the list ["B", "B", "A", "F", "D", "C", "A"). You may want a helper function to assign a single letter grade. 3. Function printGradeGraph() should take a list of scores between 0 and 100 and print a histogram of the different letter grades using an asterisk for each score. For example, the call printGradeGraph([85,82,90,99,83,67,25,33]) should print to the screen the following: A: ** B: *** C: D: * F: ** Hint: There are several ways to solve this last problem. You should take advantage of at least one of the functions you've already written countScoresInRange () and/or scoresToGrades()

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!