Simple - looking for a way to do an element exists check..
Boris Ozegovic
ninja.krmenadl at fer.hr
Sat Feb 23 09:36:01 EST 2008
Paul Rubin wrote:
> if any(x[0]==element[0] for x in a):
How come this list comprehension isn't in [] brackets?
More information about the Python-list
mailing list