marcstuart <[EMAIL PROTECTED]> writes: > what I would like to get is 3 sublists > > print z[0] = [1,2,3] > print z[2] = [4,5,6] > print z[3] = [7,8,9,10]
Are you SURE you want that? In almost every situation I've seen,
print z[0] = [1,2,3]
print z[2] = [4,5,6]
print z[3] = [7,8,9]
print z[4] = [10]
is preferable.
--
http://mail.python.org/mailman/listinfo/python-list
