Ammar Askar <am...@ammaraskar.com> added the comment:
The behavior is documented here: https://docs.python.org/3.9/library/stdtypes.html#numeric-types-int-float-complex > Numeric literals containing a decimal point or an exponent sign yield > floating point numbers. ---------- nosy: +ammar2 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38801> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com