SilentGhost added the comment:

Hi Henning,

this is not a bug. This is to do with how floating point numbers represented in 
computers. I'd suggest https://en.wikipedia.org/wiki/IEEE_floating_point as a 
starting point. Briefly, due to binary base that the computers operate on, not 
every number can be stored/represented precisely. In any case there are plenty 
of other information online that you can find useful, the easiest solution is 
to output correctly formatted strings corresponding to your answers.

Good luck.

----------
nosy: +SilentGhost
resolution:  -> not a bug
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22917>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to