python display first 10 elements of dictionary code example Example: access first element of dictionary python res = next(iter(test_dict))