"shawn bright" <[EMAIL PROTECTED]> wrote

> new_list = []
> for item in lists: # item will look something like [var1, var2, 
> var3]
>    if item[0] in new_list

> basicly, i want to know if item[0]   is one of the items[0] in my 
> new_list

Your pseudo code is pretty much exactly right.
What more are you looking for?

Alan G. 


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to