On Thu, Sep 25, 2008 at 7:35 PM, Dinesh B Vadhia
<[EMAIL PROTECTED]> wrote:
> I'm using defaultdict(set) to store a dictionary d = {value : set_items}
> where value = integer and set_items = set() of characters and it works
> perfectly.
>
> I would like to also store the length of the set ie. l =
I'm using defaultdict(set) to store a dictionary d = {value : set_items} where
value = integer and set_items = set() of characters and it works perfectly.
I would like to also store the length of the set ie. l = len(set_items) with
the dictionary but don't how to do it using a defaultdict(). A