Message372033
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) |
|
Date |
User |
Action |
Args |
2020-06-22 07:01:18 | rskiredj@hotmail.com | set | recipients:
+ rskiredj@hotmail.com |
2020-06-22 07:01:18 | rskiredj@hotmail.com | set | messageid: <1592809278.7.0.712153884721.issue41071@roundup.psfhosted.org> |
2020-06-22 07:01:18 | rskiredj@hotmail.com | link | issue41071 messages |
2020-06-22 07:01:18 | rskiredj@hotmail.com | create | |
|