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 ammar2
Recipients ammar2, b_ICT, steven.daprano
Date 2020-04-30.05:41:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588225297.25.0.0940699922714.issue40446@roundup.psfhosted.org>
In-reply-to
Content
And just to add on, the reason this gives you the correct result in Python 2 is that `/` performs integer division whereas in Python 3 the `/` operator provides a float as a result.

See https://docs.python.org/3/howto/pyporting.html#division for more details.
History
Date User Action Args
2020-04-30 05:41:37ammar2setrecipients: + ammar2, steven.daprano, b_ICT
2020-04-30 05:41:37ammar2setmessageid: <1588225297.25.0.0940699922714.issue40446@roundup.psfhosted.org>
2020-04-30 05:41:37ammar2linkissue40446 messages
2020-04-30 05:41:37ammar2create