Search for question
Question

Write a function named xor that takes two iterable objects as inputs and returns a list of elements that

are in either the first object or the second object but not in both of the inputted iterable objects. The

function should ensure that the inputs are all iterable objects. To verify that the input arguments are

iterable, just call the built-in function "iter(object)". This will raise an exception if "object" is not iterable.

Fig: 1