It might have to do with Python 3 removing the classic int type and moving all int operations to longs. If you compare Python2's Objects/intobject.c's i_divmod() function to Python3's ...
Microsoft added built-in Python into Excel, starting with Microsoft 365 Insiders. This link allows users to use Python tools to improve the way Excel displays and analyses data. Now just for desktop ...