Understanding python functions - Instant Python tutorial
Wayne Brehaut
wbrehaut at mcsnet.ca
Sat Jul 14 01:43:29 EDT 2007
On Sat, 14 Jul 2007 03:18:43 +0200, Wildemar Wildenburger
<wildemar at freakmail.de> wrote:
>Wayne Brehaut wrote:
>>> (had to be a semicolon there)
>>>
>>
>> Not "had to be" since a discerning reader will note that the two
>> values in the list:
>>
>> >>> id(x), id(y)
>> (19105872, 19091664)
>
>Weeeell, as long as we are nitpicking: That's a tuple, not a list.
Yeah, just wanted to see if you'd catch it!
w
>;)
>/W
More information about the Python-list
mailing list