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 marcosthomazs
Recipients marcosthomazs, martin.panter
Date 2017-03-15.09:39:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1489570784.47.0.266570898153.issue29815@psf.upfronthosting.co.za>
In-reply-to
Content
I'm sorry, but was a typing error. Try this operations:

a, b, c = 7, -7, 2
print "1:", a // c, a % c
print "2:", b // c, b % c

the result is:
1: 3 1
2: -4 1

The division is the same, except by the signal (variable b is negative, but both, variables "a" and "b" are integers).
History
Date User Action Args
2017-03-15 09:39:44marcosthomazssetrecipients: + marcosthomazs, martin.panter
2017-03-15 09:39:44marcosthomazssetmessageid: <1489570784.47.0.266570898153.issue29815@psf.upfronthosting.co.za>
2017-03-15 09:39:44marcosthomazslinkissue29815 messages
2017-03-15 09:39:44marcosthomazscreate