Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Index Power by martin.pilka
def index_power(array: list, n: int) -> int:
return pow(array[n], n) if n < len(array) else -1
Jan. 9, 2019
Comments: