MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of the following piece of code? >>> a={3,4,5} >>> a.update([1,2,3]) >>> a |
| A. | Error, no method called update for set data type |
| B. | {1, 2, 3, 4, 5} |
| C. | Error, list can’t be added to set |
| D. | Error, duplicate item present in list |
| Answer» C. Error, list can’t be added to set | |