Answers for "how to get 1st element value form list of elemets in dict"

8

print first dictionary keys python

first_key = list(my_dict.keys())[0]
print(first_key)
Posted by: Guest on October-22-2020

Code answers related to "how to get 1st element value form list of elemets in dict"

Python Answers by Framework

Browse Popular Code Answers by Language