1
I have a simple question about using working dictionaries. Is there any way I can pass the values of the ["Age"] keys of the dictionaries in the abc list as a parameter in the Mean function? (average a list)
import statistics as stt
abc = [{"Nome": "Joana", "Idade": 14}, {"Nome": "Fernanda", "Idade": 24}, {"Nome": "Josué", "Idade": 24}]
###abc = [2, 4, 3, 5, 5, 3, 44, 5, 3]
stt.mean(abc)