Set in Python MCQs Exercise II

Ques 1 Set


What is the output of the following Python Code?


se={11,12,13}
se.pop()
print(se)

A {12,13}
B Set is immutable.
C {11,12}
D Error

Ques 2 Set


What is the output of the following Python Code?


s1 = {10 , 20, 30}
s2 = {30, 40, 60}
print(len(s1 + s2))

A 5
B 6
C 3
D Error