A
Q. What is the output of the following code when executed in Python shell?
Code:
>>> d = {1,2,3}
>>> d.intersection_update({2,3,4,5})
>>> d
>>> d.intersection_update({2,3,4,5})
>>> d
- Correct Answer - Option(A)
- Views: 29
- Filed under category Python
- Hashtags:
Discusssion
Login to discuss.