Subj : Re: simple math program To : Darkman Almighty From : dbasher Date : Sat Feb 13 2021 07:31:41 DA> I ran this and it seems to add the numbers as a negative interger. DA> Thoughts? DA> def sub(number): DA> total=0 DA> for i in number: DA> total - = i DA> return total total -= i is the same as total = total - i You start off by setting total to 0, and hence get negative integers since you start subtracting from 0. dbasher --- Mystic BBS v1.12 A45 2020/02/18 (Linux/64) * Origin: The Bottomless Abyss BBS * bbs.bottomlessabyss.net (1337:3/106) .