On Feb 26, 11:55 pm, Paul Rubin <http://phr...@NOSPAM.invalid> wrote: > So use: return sum(number_list) / float(len(number_list)) > That makes it somewhat more explicit what you want. Otherwise But that fails for a list of Decimals... Mark