[Tutor] assignment question

Ryan Hughes ryan251 at gmail.com
Mon Nov 12 05:21:57 CET 2007


Hello,

Why does the following not return [1,2,3,4] ?

>>> x = [1,2,3].append(4)
>>> print x
None
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20071111/ceaa7a63/attachment.htm 


More information about the Tutor mailing list