Dell Technologies interview question

Script on how to update a dictionary