newbie Q: sequence membership

Steven D'Aprano steve at
Mon Nov 19 23:18:49 CET 2007

On Mon, 19 Nov 2007 16:06:36 -0500, Sells, Fred wrote:

>> >>> a, b = [], []
>> >>> a.append(b)
>> >>> b.append(a)
> did you perhaps mean a.append('b'); b.append('a'); otherwise this seems
> pretty advanced for a newbie

If you had bothered to read the rest of the post, you'd see that he meant 
exactly what he did, and yes it is pretty advanced for a newbie.

who is cranky because of the heat, and believes in sharing the aggro

More information about the Python-list mailing list