And in case it's not obvious already, you get the number of arguments that
got passed down from:
len(args)
"Nick Coghlan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> rbt wrote:
> > How do I set up a function so that it can take an arbitrary number of
> > arguments? For examp
rbt wrote:
How do I set up a function so that it can take an arbitrary number of
arguments?
If you haven't already, you should check out the Tutorial:
http://docs.python.org/tut/node6.html#SECTION00673
How might I make this dynamic so
that it can handle any amount of expenses?
de
Nick Coghlan wrote:
rbt wrote:
How do I set up a function so that it can take an arbitrary number of
arguments? For example, I have a bunch of expenses which may grow or
shrink depending on the client's circumstance and a function that sums
them up... hard coding them is tedious. How might I mak
rbt wrote:
How do I set up a function so that it can take an arbitrary number of
arguments? For example, I have a bunch of expenses which may grow or
shrink depending on the client's circumstance and a function that sums
them up... hard coding them is tedious. How might I make this dynamic so
t
How do I set up a function so that it can take an arbitrary number of
arguments? For example, I have a bunch of expenses which may grow or
shrink depending on the client's circumstance and a function that sums
them up... hard coding them is tedious. How might I make this dynamic so
that it can