主題記述
整数所与は、ダブルベース型と浮動小数点型int指数です。パワーベースの指数を求めて。
ベースと指数が同時にではないことを確認0
# -*- coding:utf-8 -*-
class Solution:
def Power(self, base, exponent):
# write code here
return base**exponent
主題記述
整数所与は、ダブルベース型と浮動小数点型int指数です。パワーベースの指数を求めて。
ベースと指数が同時にではないことを確認0
# -*- coding:utf-8 -*-
class Solution:
def Power(self, base, exponent):
# write code here
return base**exponent