Joel Davis wrote:
I hate to post such a simple Q and A here, but I seriously can't find
it anywhere. Python (unsure of starting with which version) enables
the remainder of the tuple to be placed in a "catch-all", for example:
myTuple = (1,2,3,4)
varOne, varTwo, *remaindingTuple = myTuple.
On Mon, Nov 30, 2009 at 12:17 AM, Joel Davis wrote:
> I hate to post such a simple Q and A here, but I seriously can't find
> it anywhere. Python (unsure of starting with which version) enables
> the remainder of the tuple to be placed in a "catch-all", for example:
>
>
>>> myTuple = (1,2,3,4)
>>>
I hate to post such a simple Q and A here, but I seriously can't find
it anywhere. Python (unsure of starting with which version) enables
the remainder of the tuple to be placed in a "catch-all", for example:
>> myTuple = (1,2,3,4)
>> varOne, varTwo, *remaindingTuple = myTuple.
where the values