Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
1* solution in Clear category for Index Power by kosarev.b
def index_power(array: list, n: int) -> int:
return array[n] ** n if len(array)>n else -1
March 27, 2019