No Huddle Offense

"Individual commitment to a group effort-that is what makes a team work, a company work, a society work, a civilization work."

A pythonic note to myself

February 19th, 2010 • Comments Off on A pythonic note to myself

How to find the unique elements of two lists:

def unique(self, a, b):
        return [item for item in a if item not in b]

Comments are closed.