Zachary Ware <zachary.w...@gmail.com> added the comment:

The `/` operator does true division, which means the result will be a `float` 
rather than an `int`.  When the resultant float is large enough, precision will 
be lost.

You can use the `//` operator for floor (integer) division, where the result 
will remain as an integer.

----------
nosy: +zach.ware
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44419>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to