1.

Is the following piece of code valid? >>> a=frozenset([5,6,7]) >>> a >>> a.add(5)

A. Yes, now a is {5,5,6,7}
B. No, frozen set is immutable
C. No, invalid syntax for add method
D. Yes, now a is {5,6,7}
Answer» C. No, invalid syntax for add method


Discussion

No Comment Found