MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of the snippet of code shown below? x=set('abcde') y=set('xyzbd') x.difference_update(y) x y |
| A. | {‘a’, ‘b’, ‘c’, ‘d’, ‘e’} {‘x’, ‘y’, ‘z’} |
| B. | {‘a’, ‘c’, ‘e’} {‘x’, ‘y’, ‘z’, ‘b’, ‘d’} |
| C. | {‘b’, ‘d’} {‘b’, ‘d’} |
| D. | {‘a’, ‘c’, ‘e’} {‘x’, ‘y’, ‘z’} |
| Answer» C. {‘b’, ‘d’} {‘b’, ‘d’} | |