-2
I have a question about the lists in python.
Suppose I have one lista1
, with name, store and sales value, I have to return the name of the person who sold the most.
example:
vendedores= [{"nome": "Maria", "loja": 1, "valor": 100.00},
{"nome": "João", "loja": 2, "valor": 110.00},
]
How to relate the highest value to the seller’s name and return only the name of the person who sold the most?
Thank you, from now on!
In fact you have a list of dictionaries, in this code, study the lists and also the dictionaries. :-)
– Sidon