All challenges
Multiple ChoiceIntermediate 30s

copy Module

Choose the best answer for: shallow vs deep copy
Options
  1. 1Shallow and deep copy behave identically and both duplicate
  2. 2Only copy.deepcopy exists and it is the sole copying method
  3. 3copy.copy creates shallow copy; copy.deepcopy deep clones
  4. 4copy.copy deep clones while copy.deepcopy only copies top-level

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle