re: Write a script to identify an anagram VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION
 

It performs better but it's wrong. Comparing sums can give you false positives.

>>> sum(map(ord, 'false positive'))
1438
>>> sum(map(ord, 'farce positivo'))
1438
>>>
code of conduct - report abuse