mike stern <rskir...@hotmail.com> added the comment:
Not satisfied with that reply you can't just decide to close the ticket without even giving a reasonable answer, or even try that on 2.7 or 3.7 to see if it is true what I said. Besides, that is not a convincing answer, that is actually no answer at all!!! I made my research and this is what is it https://stackoverflow.com/questions/183853/what-is-the-difference-between-and-when-used-for-division in python 2.7 print((20 / 3)) ----> 6 but print((20.0 / 3)) or print((20 / 3.0)) or print((20.0 / 3.0)) ----> 6.66666666667 however print((20 / 2)) ----> 10 # integer number in python 3.7 print((20 / 3)) ----> 6.66666666667 not only that but even print((20 / 2)) ----> 10.0 # float number unless you use // print((20 // 2)) ----> 10 can someone really explain this ? ---------- status: closed -> open _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41071> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com