MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of the following piece of code? >>>import collections >>> b=collections.Counter([2,2,3,4,4,4]) >>> b.most_common(1) |
| A. | Counter({4: 3, 2: 2, 3: 1}) |
| B. | {3:1} |
| C. | {4:3} |
| D. | [(4, 3)]. |
| Answer» E. | |