A
Q. What will the be the result of below Python code?
Code:
set1={1,2,3}
set1.add(4)
set1.add(4)
print(set1)
set1.add(4)
set1.add(4)
print(set1)
- Correct Answer - Option(A)
- Views: 31
- Filed under category Python
- Hashtags:
Discusssion
Login to discuss.