A

Admin • 833.24K Points
Coach

Q. What will `len({'a':1, 'b':2, 'c':3})` return?

  • (A) 1
  • (B) 2
  • (C) 3
  • (D) Error

Explanation by: Admin

The dictionary has 3 key-value pairs, so the length is 3.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.