+ 3
Copy function from copy module is performing deep copy instead of shallow copy.
2 Answers
+ 1
you may want to look closer at the definition of shallow and deep copy in python.
check out https://docs.python.org/3.6/library/copy.html
'The difference between shallow and deep copying is only relevant for compound objects'
https://code.sololearn.com/c53e9aUvZ5eO/#py
0
thxs