On 06/26/2017 10:38 AM, Anish Kumar wrote:
>
>> anish singh wrote:
>>
>>> I need a custom comparator.
>>>
>>> dictionary = {a:[b,c], d:[e,f]}
>>>
>>> If both 'b' and 'e' belong to the same bin
if would help alot if your problem statement included a description of
what "same bin" is.
> Well no, take the case of [1,100] and [2,0]
> Both belong to same bin
how would we conclude that these "belong to same bin"?
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor