Given a nonempty finite list of integers, output a Truthy value if there are exactly two equal entries and all other entries are distinct, and a falsey value otherwise. Examples truthy: [1,1] ...
from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot