[issue10163] 7/200 and 7%200 show weird results

Henry Eshbaugh report at bugs.python.org
Thu Oct 21 13:21:50 CEST 2010


New submission from Henry Eshbaugh <newts500 at gmail.com>:

This may be happening with other numbers, but I got weird results with the modulus and division operators, after I imported the math module. I tried to do 7/200 and got 0, and 200%7 yielded 7, an impossibility with modulus.

----------
messages: 119274
nosy: Henry.Eshbaugh
priority: normal
severity: normal
status: open
title: 7/200 and 7%200 show weird results

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10163>
_______________________________________


More information about the Python-bugs-list mailing list