Question: Use this exact dictionary for this assignment (Do NOT add or delete anything from this dictionary. This dictionary should remain the same throughout your codes

Use this exact dictionary for this assignment (Do NOT add or delete anything from this dictionary. This dictionary should remain the same throughout your codes - points will be deducted if dictionary is changed): grades = {'Biology':80, 'Physics':88, 'Chemistry':98, 'Math':89, 'English':79, 'Music':67, 'History':68, 'Art':53, 'Economics':95, 'Psychology':88} I need to build a program, grades.py, that takes an argument (subject) and prints the average score excluding that subject, to two decimals. For example: If the argument is Biology, it should print 80.56 If the argument is Chemistry, it should print 78.56 Use sys.argv to test the function no input() allowed and no additional libraries should be imported.

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 Programming Questions!