question 351 Memory & Python Internals · easy
Predict: copying an order
An order is copied twice, once with .copy() and once with copy.deepcopy, and both copies are changed. Type exactly what the program prints.
An order is copied twice, once with .copy() and once with copy.deepcopy, and both copies are changed. Type exactly what the program prints.
Loading your progress…