@league55: what 2-set do you mean that has a sum of 0?
Output:>>> sum({-3,13})==0
False
>>>
Output:>>> s
{0, 2, 5, 7, 13, -3}
>>> [ (p,q) for p in s for q in s if p!=q and sum({p,q})==0 ]
[]
>>>
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.