append on lists

Armin a at nospam.org
Mon Sep 15 22:24:39 CEST 2008



Hi,

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] ??

--Armin



More information about the Python-list mailing list