John Machin wrote: > On May 3, 10:21 am, Michael Hoffman <[EMAIL PROTECTED]> wrote: >> Tobiah wrote: >> >>> >>> elegant_solution([1,2,3,4,5,6,7,8,9,10]) >>> [[1, 2], [3, 4], [5, 6], [7, 8], [9, 10]] >> That's not an array, it's a list. See the array module for arrays >> (fixed-length, unlike variable-length lists). > > You must have your very own definitions of "fixed-length" and > "unlike".
Sorry, too much time spent with numarray arrays which are documented to have immutable size. -- Michael Hoffman -- http://mail.python.org/mailman/listinfo/python-list