Jeff Peery wrote:
> ... what is '*' in '*temp'? thanks!
Say you have a function of 3 arguments:
In [1]: def add(a, b, c):
...: return a+b+c
Normally to call it, you just specify the three arguments:
In [2]: add(1, 2, 3)
Out[2]: 6
Suppose the arguments were already in a list, what would y
... what is '*' in '*temp'? thanks!
J
Kent Johnson <[EMAIL PROTECTED]> wrote: Jeff Peery wrote:
> hello, I typically run into this problem and I'm not always sure of the
> most efficient way to handle it. I often work with multiple arrays of
> data, say arrays a, b, and c, and I want to sort the
Thanks for all the responses, that is a huge help!
Jeff
Kent Johnson <[EMAIL PROTECTED]> wrote: Jeff Peery wrote:
> hello, I typically run into this problem and I'm not always sure of the
> most efficient way to handle it. I often work with multiple arrays of
> data, say arrays a, b, and c, and
Jeff Peery wrote:
> hello, I typically run into this problem and I'm not always sure of the
> most efficient way to handle it. I often work with multiple arrays of
> data, say arrays a, b, and c, and I want to sort the elements of b and c
> based on a. for example:
>
> a = [3,2,1,4]
> b = ['hi'
> hello, I typically run into this problem and I'm not always sure of the most
> efficient way to handle it. I often work with multiple arrays of data, say
> arrays a, b, and c, and I want to sort the
> elements of b and c based on a. for example:
> a = [3,2,1,4]
> b = ['hi', 'my','name', 'is']
hello, I typically run into this problem and I'm not always sure of the most
efficient way to handle it. I often work with multiple arrays of data, say
arrays a, b, and c, and I want to sort the elements of b and c based on a. for
example:
a = [3,2,1,4]
b = ['hi', 'my','name', 'is']
c = [5,2,4,