1.

What is the output for the following piece of code? >>> a={1,2,3} >>> b=a >>> b.remove(3) >>> a

A. {1,2,3}
B. Error, copying of sets isn’t allowed
C. {1,2}
D. Error, invalid syntax for remove
Answer» D. Error, invalid syntax for remove


Discussion

No Comment Found