Runtime: 76 ms, faster than 9.52% of Python3 online submissions for Pow(x, n).
很简单
class Solution:
def myPow(self, x, n):
"""
:type x: float
:type n: int
:rtype: float
"""
if n>= -2**31 and n<2**31:
return x**n