how to have a defaultdict or dictionary with a fixed list or array size as the value
<p>I was trying to use d = defaultdict(array.array) or d = defaultdict(list) for the dictionary, but I dont't know how I can fix the number of elements in the array.array or list to N where N is the size of the array I always want the list or array.array to be. If possible I want all of the N elements of the list to be pre-initialized to zero.</p>
