Georg Brandl added the comment: Hi Nitin,
"a // b" is defined as the floor division operation, same as what "math.floor(a / b)" gives: the largest integer <= a / b. -7/2 is -3.5, the largest integer <= -3.5 is -4. ---------- nosy: +georg.brandl resolution: -> invalid status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19446> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com