剑指offer python版 16.数值的整数次方

class Solution: def Power(self, base, exponent): g_InvalidInput = False if (abs(base) < 1e-6) and exponent < 0: g_InvalidInput = True return 0. ab
相关文章
相关标签/搜索