get values of dict python code example
Example 1: list of dict values
list(d.values())
Example 2: python get keys and values from dict
# using dict.items() to
# get key and value
print ("Dict key-value are : ")
for key, value in test_dict.items():
print (key, value)
Example 3: python how to get variable value in dict
{'1': 3, '2': 7, '3', 14}