returning totals in functions of math
dn
PythonList at DancesWithMice.info
Sun Nov 8 15:11:49 EST 2020
On 09/11/2020 08:47, Quentin Bock wrote:
> Ok, I don't know how to change add to accept an arbitrary number of
> arguments (I'm pretty new) and as for total = 1 idk but it worked for other
> versions of this (multiplication), and figured it might work for this one,
> do you have any tips on what a better number might be for the total to
> equal?
Fair comment - arguments discussed in previous post - try what has been
suggested...
The "Law of Identity" is that zero added to anything doesn't change the
value, eg 1 + 0 = 1; 1 million + 0 = 1 million...
--
Regards =dn
More information about the Python-list
mailing list