开发者_开发技巧>>> import math
>>> math.pow(2, 3000)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OverflowError: math range error
How can I fix it?
Use the built-in operator.
2**3000
开发者_开发技巧>>> import math
>>> math.pow(2, 3000)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OverflowError: math range error
How can I fix it?
Use the built-in operator.
2**3000
精彩评论