Get the last key in the python dictionary
📁 dictionary, Advanced Python Topics
There is a dictionary:
Dicid = { 1 : [ 3 , 4 ], 2 : [ 5 , 6 , 3 ], 3 : [ 7 , 1 , 9 , 2 ]} you need to get the last key in this dictionary.
Dicid.keys() // Returns the set of keys how to choose the last one from them?
No answers yet.
Log in to leave an answer