4 ms·
Hmmmm, make that: def gauss(x): return (x+1)*x/2 (consider gauss(11), for example) You gotta admit, on an article about the difference between in
by Tibbes 13y ago
Hmmmm, make that:
def gauss(x):
return (x+1)*x/2
(consider gauss(11), for example)
You gotta admit, on an article about the difference between integer and floating-point arithmetic, that's pretty ironic!
- joe24pack 13y agoIt's odd that the odd numbers slipped my mind. Thank you for your gracious correction.