题目描述
给定一个double类型的浮点数base和int类型的整数exponent。求base的exponent次方。
# -*- coding:utf-8 -*- class Solution: def Power(self, base, exponent): # write code here return base**exponent
# -*- coding:utf-8 -*- class Solution: def Power(self, base, exponent): # write code here return base**exponent