Stephen J. Turnbull wrote: > > from statistics import mean > > sum([1e16,1,1])/3 == 1e16/3 # surprise! > > True > > mean([1e16,1,1]) == 1e16/3 > > False > > Regards,
Python 3.9.0a0 (heads/master-dirty:d8ca2354ed, Oct 30 2019, 20:25:01) [GCC 9.2.1 20190909] on linux Type "help", "copyright", "credits" or "license" for more information. >>> sum([1e16,1,1])/3 3333333333333333.5 _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/HKUU77DNKMP3D5Y3CB27IFAGYN26NKOA/ Code of Conduct: http://python.org/psf/codeofconduct/