>>> s=[1,2,3]
 >>> s.append(5)
 >>> s
 [1, 2, 3, 5]
 >>> s=s.append(5)
 >>> s
 >>> print s
 None

why can't  s=s.append(5)  ,what is the reason?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to