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!