# Leetcode 50. Pow(x,n) ## 題解 ### 偷吃步 ```python! class Solution: def myPow(self, x: float, n: int) -> float: return x ** n ```