how to get a list of elements in dictionarypython code example Example: python get dict values as list food_list=list(data.values()) print(food_list)