Question: Create a DICTIONARY called raw _ grades using the assignment name as the key and the grade result as the value. NOTE: The grade value
Create a DICTIONARY called rawgrades using the assignment name as the key and the grade result as the value. NOTE: The grade value should be a decimal, for example if the grade was the value would be entered as
Use a WHILE loop to continue gathering data until the user enters done
Use a FOR loop to read the information from the DICTIONARY and write to a new DICTIONARY called finalgrades using the assignment name as the key and the weighted grade as value. NOTE: The weighted grades in the library MUST add up to Do a calculation to add the values in the finalgrades dictionary to validate the accuracy of your weighted calculation.
After the FOR loop creates the NEW DICTIONARY, the user should be prompted to add a new grade item to rawgrades as a choice. It they say yes, the new item will be appended and the WHILE loop will recalculate the final grades, including the newly added grade. If they say no the program exits.
Use your own marks from this course to test out your program. If something has not been marked yet, do not include it yet. This program can be used to keep track of your final grade throughout the duration of the course.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
