Re:Python, unlike C, has the mod operator always return a po...
by dataangel on Thursday December 30, 2021 @11:24AM
(#29738019)
Maybe the best argument is that the average of zero items should be zero?
[ Parent
| on HN ]
Re:Python, unlike C, has the mod operator always return a po...
by housecarpenter on Thursday December 30, 2021 @03:52PM
(#29741294)
But then why should the average of zero items be zero? It still seems like just an arbitrary choice to me.