Question: I have two sets of str objects, each containing given names. a = { ' Maria ' , 'Hilda', 'Virginia' } b = { '

I have two sets of str objects, each containing given names.
a ={'Maria', 'Hilda', 'Virginia'}
b ={'Virginia', 'Maria', 'del', 'Carmen'}
Choose the expression that uses set operators to return a new set with the names that are in common in both sets. The names that are in common for both sets are "Maria and "Virginia.
Question 3Select one:
a.
a & b
cross out
b.
a ^ b
cross out
c.
a - b
cross out
d.
a | b

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!