Re: [Tutor] List Comprehension Syntax

2012-12-23 Thread Malcolm Newsome
> Message: 4 > Date: Sun, 23 Dec 2012 02:48:42 -0500 > From: Mario Cacciatore > To: "tutor@python.org" > Subject: [Tutor] List Comprehension Syntax > Message-ID: <50d6b74d.031d650a.3497.a...@mx.google.com> > Content-Type: text/plain; charset="windows

Re: [Tutor] List Comprehension Syntax

2012-12-23 Thread Steven D'Aprano
On 23/12/12 18:48, Mario Cacciatore wrote: Hey everyone, I am having a very hard time understanding the list comprehension syntax. I've followed the docs and could use some guidance from the fine folks here to supplement my findings. If someone wouldn't mind replying back with an example or two,

Re: [Tutor] List Comprehension Syntax

2012-12-23 Thread Peter Otten
Mario Cacciatore wrote: > Hey everyone, > > I am having a very hard time understanding the list comprehension syntax. > I've followed the docs and could use some guidance from the fine folks > here to supplement my findings. If someone wouldn't mind replying back > with an example or two, with so

Re: [Tutor] List Comprehension Syntax

2012-12-23 Thread Alan Gauld
On 23/12/12 07:48, Mario Cacciatore wrote: I am having a very hard time understanding the list comprehension syntax. I've followed the docs and could use some guidance from the fine folks here to supplement my findings. If someone wouldn't mind replying back with an example or two, with some exp

Re: [Tutor] List Comprehension Syntax

2012-12-23 Thread Mitya Sirenef
On 12/23/2012 02:48 AM, Mario Cacciatore wrote: Hey everyone, > > I am having a very hard time understanding the list comprehension syntax. I've followed the docs and could use some guidance from the fine folks here to supplement my findings. If someone wouldn't mind replying back with an exa

[Tutor] List Comprehension Syntax

2012-12-22 Thread Mario Cacciatore
Hey everyone, I am having a very hard time understanding the list comprehension syntax. I've followed the docs and could use some guidance from the fine folks here to supplement my findings. If someone wouldn't mind replying back with an example or two, with some explanation of each part I'd ap