Q11Single correct3 Marks28 Apr 2024
What is the output of the following snippet of code?
A = {1, 2, 3, 9, 11, 15, 18, 24}
B = {2, 4, 5, 7, 8, 15, 25, 30}
C = set()
```
A = {1, 2, 3, 9, 11, 15, 18, 24}
B = {2, 4, 5, 7, 8, 15, 25, 30}
C = set()
for x in A:
C.add(x)
for x in B:
if x in C:
C.remove(x)
print(C)
```