How about adding rational fraction to Python?
Mark Dickinson
dickinsm at gmail.com
Wed Feb 27 00:21:09 EST 2008
More information about the Python-list mailing list
Wed Feb 27 00:21:09 EST 2008
- Previous message (by thread): How about adding rational fraction to Python?
- Next message (by thread): How about adding rational fraction to Python?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message (by thread): How about adding rational fraction to Python?
- Next message (by thread): How about adding rational fraction to Python?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list