Skip to content
murmot

Results for “python append array example site:mail.python.org”

  • mail.python.org

    [Tutor] how can I append a iteration to a tow dimensional array

    The for statement above will not iterate, but will return the first comma-delimited thing in record. str(x) is redundant. x will be a string already. What do you want this function to do? > > array = [] > for x in bigMethod(): > array.append(getMark(x)) > array1=[] > for count in array: > array1...

  • mail.python.org

    [Tutor] Re: Tutor Digest, Vol 2, Issue 2

    self.extend(range(len(array))) > >. extend() is a method that can append multiple elements at a time to a >list.return self.array.__iter__(). Now, this is actually wrong since it doesn't take in to account the order of the TagArray. But this doesn't even work at all.