get all values of a dictionary into list python code example
Example 1: python get dict values as list
food_list=list(data.values())
print(food_list)
Example 2: list of dict values
list(d.values())
food_list=list(data.values())
print(food_list)
list(d.values())