A

Admin • 833.24K Points
Coach

Q. What will `all({'a': 0, 'b': 1})` return?

  • (A) True
  • (B) False
  • (C) 0
  • (D) Error

Explanation by: Admin

`all()` checks the truthiness of the keys, not the values. All keys are non-empty strings (truthy).

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.