Question: students = { 1 :John, 2 :Bob, 3 :Ann } Please write a python code to do following action. 1 .
students :"John",":"Bob",":"Ann"Please write a python code to do following action.
Add new student with id and name "Mike"
Updated the student with id with name Annie
How to retrieve student name from id
How to remove the student with id
How to check if the key exists?
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
