In most compiled languages, the max value for an integer was around 2.147 billion. In Javascript, it is around 10^308. But what is it in Python? If, in the Javascript console, you ask 10 to the power of 309, it return Infinity
. But, if you do that in the python shell, it returns a one with 309 zeros. I tried 10^500, 10^500, 10^1000, and even 10^10000 in the shell, and all of them returned a one with the respective number of zeroes. For the last one, I had to confirm the printing of the number, as it made the shell a tad bit slower.
So, do you know what the max value for a Python variable Is?
Thanks for your help!