1.

set1={1,2,3}set1.add(4)set1.add(4)print(set1)10.Which of the following options will give an error if set1={2,3,4,5}?

A. print(set1[0])
B. set1[0]=9
C. set1=set1+{7}
D. All of the above
E.
Answer» E.


Discussion

No Comment Found