A

Admin • 828.43K Points
Coach

Q. What is the result of {'a', 'b'} & {'b', 'c'}?

  • (A) {'a', 'b', 'c'}
  • (B) {'b'}
  • (C) {'a'}
  • (D) set()
  • Correct Answer - Option(B)
  • Views: 10
  • Filed under category Python
  • Hashtags:

Explanation by: Admin
The & operator returns the intersection of two sets.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.