python dictionary values of the first key code example Example: access first element of dictionary python res = next(iter(test_dict))