Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please complete question 3 and 4 using python 3. Write a function named computeGradeComponents that has one input, a dictionary of grades where the key

Please complete question 3 and 4 using python
image text in transcribed
3. Write a function named computeGradeComponents that has one input, a dictionary of grades where the key is a string for the category and a list of the grades in that category (grades will be between 0 and 100 and will be the grade out of 100 on an assignment) Your function should create a new dictionary where the keys are the strings for the category names and the values are tuples. The first entry in each tuple should be the average of the grades in each category The second entry in the tuple should be the number of graded assignments in that category Your function should return the new dictionary Write a function named droplowest that has one input, a list of numbers (these values may be integer or floating point numbers) Your function should use the functions available for lists (instead of for loops and if statements) to remove the lowest number in the input list. You should return a list with the lowest value dropped. The list that is returned does not have to have the remaining elements in the same order as the input list. 4

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

Database Design Application Development And Administration

Authors: Michael V. Mannino

3rd Edition

0071107010, 978-0071107013

More Books

Students also viewed these Databases questions