[Tutor] Creating a list from other lists
Steven D'Aprano
steve at pearwood.info
Tue Oct 23 02:56:35 CEST 2012
On 22/10/12 21:52, eryksun wrote:
> On Mon, Oct 22, 2012 at 6:37 AM, Steven D'Aprano<steve at pearwood.info> wrote:
>> On 22/10/12 21:21, Saad Javed wrote:
>>>
>>> for x, y , z in zip(a, b, c):
>>> L.extend([x, y, z])
>>> print L
>>
>> This is not your code, because that gives a SyntaxError. Where is
>> the indentation? Indentation is required in Python, if you leave it
>> out, your code will not work correctly.
>
> It's an HTML post.
Not according to the version of Thunderbird I am using, which shows it
as a plain text email.
I suspect that the HTML attachment may be invalid HTML, understandable
by Gmail and possibly nothing else. Typical of Google :(
--
Steven
More information about the Tutor
mailing list