Copy Dictionaries
Copy Dictionaries
We can use the copy() method to copy the contents of one dictionary into another dictionary.
Example:
Output:
Or we can use the dict() function to make a new dictionary with the items of original dictionary.
Example:
Output: