SQLite Forum

Fail to calculate long expression
> PYTHON = 7.70154259312e+12


Python 3.9.6 (default, Jun 29 2021, 07:18:15)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> (((((((788)*(8.46))))+8342*1.803-1))*4186.4*(15))*(((22/((7530/((2)*(((((25))-421))))))*597)+7283.8-9.60+167))+(8871)

Of course, I'm not sure what any of this proves.  Different tools calculate things differently.  In this case, I think you're running Python 2 (why?) and between Python 2.x and Python 3.x the behavior for `/` was changed.  Good luck tracking down all of the differences between all of the things, but this has very little to do with SQLite.