This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients docs@python, jessevsilverman, rhettinger, terry.reedy
Date 2021-01-29.20:12:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1611951165.3.0.795290616702.issue43034@roundup.psfhosted.org>
In-reply-to
Content
-17/3 = -5.666666666666667 = -6.0 + .333333333333333.  It is the latter fraction that gets discarded.

However, this is a frequent source of confusion.  How about adding 

>>> -17 // 3
-6
>>> -17 % 3
1
>>> -6 * 3 + 1
-17

to illustrate what we mean, without footnote or additional text.
History
Date User Action Args
2021-01-29 20:12:45terry.reedysetrecipients: + terry.reedy, rhettinger, docs@python, jessevsilverman
2021-01-29 20:12:45terry.reedysetmessageid: <1611951165.3.0.795290616702.issue43034@roundup.psfhosted.org>
2021-01-29 20:12:45terry.reedylinkissue43034 messages
2021-01-29 20:12:45terry.reedycreate