New submission from dongjs <dongj...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue38939>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to