The quiz where the difficulty automagically adapts to the player's Python knowledge
This is a question page. You can use this page to bookmark a question. Start a new quiz!
import copy a = [, ] b = copy.deepcopy(a) print(a is b)
When copy.deepcopy() is used, the copy of the object has a new memory address and its elements have new memory addresses too when they are mutable. Here, a and b are different objects. (towardsdatascience.com/assignment-shallow-or-deep-a-story...)
Question difficulty: 🔵🔵🔵🔵🔵