MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of the following piece of code when executed in Python shell? >>> import collections >>> b=dict() >>> b=collections.defaultdict(lambda: 7) >>> b[4] |
| A. | 4 |
| B. | 0 |
| C. | An exception is thrown |
| D. | 7 |
| Answer» E. | |