Christoph Zwerschke <[EMAIL PROTECTED]> writes:
> def sign(x): return (x>0)-(x<0)

Cute, I'll try to remember that one.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to