Understanding python functions - Instant Python tutorial

Wildemar Wildenburger wildemar at freakmail.de
Fri Jul 13 21:18:43 EDT 2007


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.

;)
/W



More information about the Python-list mailing list