Q35
What will be the output of the following Python code? a=set('abc') b=set('def') b.intersection_update(a) a b
A.
set()
(‘e’, ‘d’, ‘f’}
(‘e’, ‘d’, ‘f’}
B.
{}
{}
{}
C.
{‘b’, ‘c’, ‘a’}
set()
Answerset()
D.
set()
set()
set()
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board