Get the last key in a Python dictionary
📁 dictionary, Advanced Python Topics
There is a dictionary:
dicId = {1: [3, 4], 2: [5, 6, 3], 3: [7, 1, 9, 2]}Need to get the last key in this dictionary.
dicId.keys() // returns a set of keysHow to select the last one from them?