Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Python
/
Shallow and deep copy
A function will only add and remove keys in a dictionary; it will not mutate any values. …
from Shallow and deep copy
Python 3.14
beginner
1 min
A function will only add and remove keys in a dictionary; it will not mutate any values. Which operation expresses the narrowest required copy boundary?
A shallow dictionary copy
Assignment to another name
An unconditional deep copy of every reachable object
Serializing and deserializing the dictionary
Check
Ask AI about this kata
Report an error
next kata
What does this program print?
Predict the output
A new version is available
Reload