Which module provides deepcopy() for copying nested objects in Python?
Correct answer
B. copy
5 views
B. copy
5 views
copy.deepcopy() recursively copies nested objects so they do not share references.
Asked in: Python Interview Lists
https://docs.python.org/3/tutorial/datastructures.htmlNot sure why the answer is B? Ask here and get an explanation.