A

Admin • 833.24K Points
Coach

Q. What does `d.popitem()` return?

  • (A) A key only
  • (B) A value only
  • (C) A tuple (key, value)
  • (D) A list of keys

Explanation by: Admin

`popitem()` removes and returns a (key, value) tuple.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.