Why do the below three lines produce different output in python3, despite the values being equal?
>>> 10 ** 500
100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
>>>1E500
inf
>>>1E250 ** 2
---------------------------------------------------------------------------
OverflowError Traceback (most recent call last)
<ipython-input-110-d71dbae32ab9> in <module>
----> 1 1E250**2