python get an element from a dictionary list code example
Example 1: python get dict values as list
food_list=list(data.values())
print(food_list)
Example 2: python get dictionary keys
d = {2:"hello"}
d.values()
food_list=list(data.values())
print(food_list)
d = {2:"hello"}
d.values()