MCQOPTIONS
Saved Bookmarks
| 1. |
list1=[1,3,4,2]x=list1.pop(2)print(set([x]))5.What will set1|set2 do? |
| A. | Elements of set2 will get appended to set1 |
| B. | Elements of set1 will get appended to set2 |
| C. | A new set will be created with the elements of both set1 and set2 |
| D. | A new set will be created with the unique elements of set1 and set2. |
| Answer» D. A new set will be created with the unique elements of set1 and set2. | |