Subj : Re: simple math program To : dbasher From : Darkman Almighty Date : Wed Feb 17 2021 02:30:40 On 13 Feb 2021, dbasher said the following... db> DA> I ran this and it seems to add the numbers as a negative interger. db> DA> Thoughts? db> db> DA> def sub(number): db> DA> total=0 db> DA> for i in number: db> DA> total - = i db> DA> return total db> db> total -= i is the same as total = total - i db> db> You start off by setting total to 0, and hence get negative integers db> sinceyou start subtracting from 0. db> db> dbasher ok ok, this makes some sense... now the question is should I even have a line setting the total. I'll try and play around with this a bit.. but at least I have a direction. Thanks! --- Mystic BBS v1.12 A47 2020/12/04 (Linux/64) * Origin: thE qUAntUm wOrmhOlE, rAmsgAtE, uK. bbs.erb.pw (1337:1/101) .