A

Admin • 832.27K Points
Coach

Q. What does `any({'': 1, 'b': 0})` return?

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

Explanation by: Admin

`any()` checks truthiness of keys. '' is falsy, 'b' is truthy → result is `True`.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.