append on lists

Armin a at nospam.org
Mon Sep 15 22:35:36 CEST 2008


Fredrik Lundh wrote:
> Armin wrote:
> 
>> just a dumb question.
>>
>> Let a = [1,2,3,4,5]
>>
>> Why is the value of a.append(7) equal None and not [1,2,3,4,5,6,7] ??
> 
> yeah, that's a dumb question.
> 
> </F>
> 

  yeah, that's a dumb answer.



More information about the Python-list mailing list