Menu

Two Sets Str Objects Containing Given Names Maria Hilda Virginia B Virginia Maria Del Carm Q43813445

I have two sets of strobjects, each containing given names.

a = {‘Maria’, ‘Hilda’, ‘Virginia’}b = {‘Virginia’, ‘Maria’, ‘del’, ‘Carmen’}

Choose the expressionthat uses set operators to return a new set with the names that arein common in both sets. The names that are incommon for both sets are “Maria” and “Virginia”.

Select one:

a. a | b

b. a & b

c. a ^ b

d. a – b

Expert Answer


Answer to I have two sets of str objects, each containing given names. a = {‘Maria’, ‘Hilda’, ‘Virginia’} b = {‘Virginia’, ‘Maria’…

OR