go to last key value pair in dictionary code example Example: get last element of dictionary python list(dict)[-1]