Zachary Ware <zachary.w...@gmail.com> added the comment:
This has nothing to do with IDLE and everything to do with how floating point numbers work; have a read through https://docs.python.org/3/tutorial/floatingpoint.html for an introduction to floating point. If you need exact decimal math, use the `decimal` module instead. ---------- assignee: terry.reedy -> components: -IDLE nosy: +zach.ware resolution: -> not a bug stage: -> resolved status: open -> closed title: Incorrect answer when calculating 11//3 -> Incorrect answer when calculating 11/3 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36151> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com