how to update dictionary using definition function
Answers
Answered by
0
Answer:
Use dict.update() to update a dictionary
Call dict.update(other_dictionary) to update dict with key-value pairs from other_dictionary . If a key in other_dictionary already exists in dict , its value is replaced. If not, the key-value pair is added to dict .
Answered by
2
Answer:
Use dict.update() to update a dictionary
Call dict.update(other_dictionary) to update dict with key-value pairs from other_dictionary . If a key in other_dictionary already exists in dict , its value is replaced. If not, the key-value pair is added to dict .
Explanation:
MARK AS BRAINLIST...
Similar questions