Computer Science

What do you understand by shallow copy of a dictionary ?

Python Dictionaries

5 Likes

Answer

A shallow copy of a dictionary refers to a copy of the dictionary whereby only a copy of references (the keys) is created and the content (values of the dictionary) is not copied.

Answered By

2 Likes


Related Questions