Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Index Power by PawelBubak
def index_power(array, n):
if n < len(array):
m = array[n]
potega = m**n
return int(potega)
else:
return int(-1)
return None
Oct. 20, 2016