8. Mutually Exclusive Events

Easy

Two events are mutually exclusive when they share no outcome at all:

AB=A \cap B = \varnothing

Return True if the two events are mutually exclusive, else False.

solve({1, 3, 5}, {2, 4, 6})  ->  True
solve({2, 4, 6}, {4, 5, 6})  ->  False

Sign in to write and run your own code.

Implement solve(...)