Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Index Power by maxadamski
def index_power(array, n):
try:
return pow(array[n], n)
except IndexError:
return -1
Oct. 19, 2017