Embed presentation
Download to read offline
![In Python! Finish the following tasks with Python please! Task 3: Complete the funtion
updatedict that takes two arguments: a dictionary containing people names with their public
keys, and a list of people names whose public keys have expired. The function should remove
the expired records from the dictionary. Note that it is possible that the name in the expire list
does not exist in the dictionary. [] 4 raise NotImplementedError() [] []: # This cell contains
hidden tests. Do NOT delete! [ ]: # This cell contains hidden tests. Do NOT delete!](https://image.slidesharecdn.com/inpythonfinishthefollowingtaskswithpythonpleasetask3co-230328114632-edff1c65/85/In-Python-Finish-the-following-tasks-with-Python-please-Task-3-Co-pdf-1-320.jpg)
The document outlines a task for Python programming, specifically to complete a function named 'updatedict'. This function is intended to take a dictionary of names and public keys and a list of names with expired keys, removing the expired entries from the dictionary. Additionally, it mentions the presence of hidden tests that should not be deleted.
![In Python! Finish the following tasks with Python please! Task 3: Complete the funtion
updatedict that takes two arguments: a dictionary containing people names with their public
keys, and a list of people names whose public keys have expired. The function should remove
the expired records from the dictionary. Note that it is possible that the name in the expire list
does not exist in the dictionary. [] 4 raise NotImplementedError() [] []: # This cell contains
hidden tests. Do NOT delete! [ ]: # This cell contains hidden tests. Do NOT delete!](https://image.slidesharecdn.com/inpythonfinishthefollowingtaskswithpythonpleasetask3co-230328114632-edff1c65/85/In-Python-Finish-the-following-tasks-with-Python-please-Task-3-Co-pdf-1-320.jpg)