Average of entries in a list of lists

Evora lasse_lorentzen at hotmail.com
Thu Sep 24 12:54:20 CEST 2009


Hello,

I'm a bit of a newbie to python, so this may very well be a basic question:

I have a list of lists, with around 1000 lists looking like this:
['0.000744', '0.480106', 'B'].

I need the average of the first to entries of all the lists, can anybody
help how me to do this?

Thanks in advance,
Evora
-- 
View this message in context: http://www.nabble.com/Average-of-entries-in-a-list-of-lists-tp25555090p25555090.html
Sent from the Python - python-list mailing list archive at Nabble.com.




More information about the Python-list mailing list