Question: Python Lists, create, append, remove items from lists. Weighted grades Lab Week 9 - Lists Skills needed to complete this Lab Understand create, append, remove

Python Lists, create, append, remove items from lists. Weighted grades
 Python Lists, create, append, remove items from lists. Weighted grades Lab
Week 9 - Lists Skills needed to complete this Lab Understand create,
append, remove items from lists. Weighted Grades We're going to work on

Lab Week 9 - Lists Skills needed to complete this Lab Understand create, append, remove items from lists. Weighted Grades We're going to work on something that is important to all students, grade weighting. Our program will allow the user to enter 2 types of grades; Tests and Programs. Each of our scores is assumed to be out of 100, so we only need the users score. The tests are 60% of a students grade, while the assignments are 40%. In order to calculate the final score, we multiply the mean score of the tests by 0.6 and add it to the mean of assignments multiplied by 0.4. When we display scores we will als show them the low, high, mean, and standard deviation of their tests and assignments. sum all the values and divide by The mean is the average. To calculate the mean you would the number of values. If the values we want a mean for are 5, 8, 4, 9 then the mean is mean (5 +8+4+9)/4 In this case our mean is 6.5 The standard deviation is calculated by taking each value and subtracting the mean, and squaring the value. Divide the sum of those values by the numbers of values, and take the square root of that result. Using the example above (5- 6.5)2+(8-6.5)2+(4-6.5)2+(9-6.5)2 std Std is 2.06155281.. Work on one thing at a time, and build it up slowly as you get each portion working. Some Additional items to think about. When entering scores it must be a valid number (a float) and cannot be less than zero. (we'll allow scores greater than 100 however ) could not be removed instead display n/a for those values. If you try to remove a score and it is not in the list of scores, then warn the user that it If there are no scores for one of the categories, then you can't calculate the avg std, etc

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!