Question: HELP WITH THIS PYTHON PROGRAM PLEASE! Write a program that first creates a dictionary object score_sheet with the following information (Student Name as the key;

HELP WITH THIS PYTHON PROGRAM PLEASE!
 HELP WITH THIS PYTHON PROGRAM PLEASE! Write a program that first

Write a program that first creates a dictionary object score_sheet with the following information (Student Name as the key; Score as the value): Student Name Student Name Alice Bob Charlie 92 75 81 Then, perform the following tasks: (1) Add the key-value pairs ('David; 68) into the dictionary score_sheet created above. (2) Use the del statement to remove the element with key 'Bob. Use in or not in operator to make sure that the element to be removed exists (3) Use getkey, default) method to retrieve and print the value associated with key Alice (4) Use popkey, default) method to retrieve and print the value associated with key 'Charlie. Note that this will pop out the key-value pair of key '003 (5) Use items) method to retrieve and print all keys and corresponding values value associated with key 'Alice' is 92 value associated with key 'Charlie' is 81 elements left in the dictionary Alice 92 David 68

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!