Merge two dictionaries
Tue Mar 31 2020 05:32:45 GMT+0000 (UTC)
Saved by @EnjoyByte #python #python #dictionary #mergedictionary #dict
In python, the dictionary class provides a function update(). It accepts an another dictionary or an iterable object(collection of key value pairs) as argument. Then merges the contents of this passed dictionary or Iterable in the current dictionary.
Comments