MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of the following piece of code? >>> a={'B':5,'A':9,'C':7} >>> sorted(a) |
| A. | [‘A’,’B’,’C’]. |
| B. | [‘B’,’C’,’A’]. |
| C. | [5,7,9]. |
| D. | [9,5,7]. |
| Answer» B. [‘B’,’C’,’A’]. | |