Steven D'Aprano wrote:
> It may shock some people to learn that difference in the sense of 
> mathematical subtraction is not the only meaning of the word, but there 
> it is. One wouldn't, I hope, misunderstand "What is the difference 
> between spaghetti marinara and spaghetti pescatora?" and attempt to 
> subtract one from the other, since subtraction is not defined for 
> foodstuffs.

 >>> sum(ord(c) for c in 'spaghetti marinara') - sum(ord(c) for c in 
"spaghetti pescatora")
-119

Works for me... ;-)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to