-1/2

Gary Herron gherron at islandtraining.com
Sun Jun 22 20:59:17 CEST 2008


Christian Heimes wrote:
> Serve Lau wrote:
>   
>> What is the expected result of -1/2 in python?
>>     
>
> 0
>
>   

No.  That's not right.  (It would be in C/C++ and many other languages.)

See my other response for the correct answer.

Gary Herron



> Christian
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>   




More information about the Python-list mailing list