How to rearrange array using Python?

Ian Kelly ian.g.kelly at gmail.com
Tue Oct 20 15:28:29 EDT 2015


On Tue, Oct 20, 2015 at 1:26 PM, Ian Kelly <ian.g.kelly at gmail.com> wrote:
> def room_size_constraint(*v):
>     counter = Counter(v.values())

Sorry, this should just be Counter(v), since v here is a tuple, not a dict.



More information about the Python-list mailing list