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 rskiredj@hotmail.com
Recipients rskiredj@hotmail.com
Date 2020-06-22.07:01:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1592809278.7.0.712153884721.issue41071@roundup.psfhosted.org>
In-reply-to
Content
please I would like to know why python changes an integer result in a division to a float even in the result is even

like print(2 / 2) gives 2.0 instead of 2

or 

a = 2 / 2
print(a)
History
Date User Action Args
2020-06-22 07:01:18rskiredj@hotmail.comsetrecipients: + rskiredj@hotmail.com
2020-06-22 07:01:18rskiredj@hotmail.comsetmessageid: <1592809278.7.0.712153884721.issue41071@roundup.psfhosted.org>
2020-06-22 07:01:18rskiredj@hotmail.comlinkissue41071 messages
2020-06-22 07:01:18rskiredj@hotmail.comcreate