Question: vas X x010/02 dit Format Table New Tab a pt Paragraph X New Tab Alex Bob Chris Then, perform the following tasks to the dictionary:

vas X x010/02 dit Format Table New Tab a pt Paragraph X New Tab Alex Bob Chris Then, perform the following tasks to the dictionary: (1) Use brackets-based assignment to change the major of Chr (2) Use the del statement to remove the record of Alex. Print th (3) Use in or not in operator to decide whether the record with structure), Use brackets-based assignment to add a new stude updated dictionary. (4) Use get(key, default) method to retrieve and print out Bob' out instead. (5) Use items() method to retrieve and print all records in the c Run your program in Python IDLE to verify if it works correctly a The original dictionary: {'Alex': 'Math', 'Bob': 'Compu After change of major: {'Alex': 'Math', 'Bob': 'Comput fter deletion: ('Bob': 'Computer Science', 'Chris': 'PI fter adding new student: ('Bob': 'Computer Science ob's major: Computer Science tudents in the dictionary: dict_Items([('Bob', 'Comp Com BIUA ev T

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!