On 4/20/2012 22:03, Jan Sipke wrote:
Can you explain why there is a difference between the following two statements?a = [] a.append(1) print a[1]print [].append(1)None
Try this one:
a = []
print a.append(1)
Does that answer your question?
Kiuhnm
--
http://mail.python.org/mailman/listinfo/python-list
