Answers for "python dict_items get first"

3

access first element of dictionary python

res = next(iter(test_dict))
Posted by: Guest on January-12-2021

Python Answers by Framework

Browse Popular Code Answers by Language