append on lists

Fredrik Lundh fredrik at pythonware.com
Mon Sep 15 16:17:37 EDT 2008


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>




More information about the Python-list mailing list