Eventually, you will be able to read code like that and immediately know what it’s doing. For now, when you come across something confusing, like line 11, try breaking it down. The function sorted is invoked. Its first parameter value is a dictionary, which really means the keys of the dictionary. The third parameter, the key function, decorates the dictionary key with a post-it note containing that key’s value in dictionary d. The last parameter, True, says to sort in reverse order.
Isn't the bold text suppose to be The second parameter?
Since we are talking about this code:
The text before Checking Your Understanding.
Isn't the bold text suppose to be The second parameter? Since we are talking about this code:
https://runestone.academy/runestone/static/fopp/Sorting/SortingaDictionary.html