append on lists

Fredrik Lundh fredrik at pythonware.com
Mon Sep 15 22:17:37 CEST 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