A

Admin • 832.27K Points
Coach

Q. Which method creates a shallow copy of a dictionary?

  • (A) clone()
  • (B) copy()
  • (C) duplicate()
  • (D) replicate()

Explanation by: Admin

`copy()` creates a shallow copy of the dictionary.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.