[New-bugs-announce] [issue38939] Using Python as a Calculator

dongjs report at bugs.python.org
Fri Nov 29 05:08:16 EST 2019


New submission from dongjs <dongjssd at 163.com>:

>>> 17 / 3  # classic division returns a float
5.666666666666667

this example is error 

what i test is below

>>> 17.0 / 3
5.666666666666667
>>> 17 / 3
5

----------
messages: 357637
nosy: dongjs
priority: normal
severity: normal
status: open
title: Using Python as a Calculator
type: behavior
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38939>
_______________________________________


More information about the New-bugs-announce mailing list