On Jun 22, 2:32 pm, "Serve Lau" <[EMAIL PROTECTED]> wrote:
> What is the expected result of -1/2 in python?

I would say -1, but it depends on whether the "-" is a unary minus.

>>> -1/2
-1
>>> 3 -1/2
3
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to