Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Using "and" and "or" solution in Creative category for Index Power by erykcoapl
def index_power(array: list, n: int) -> int:
return n >= len(array) and -1 or array[n] ** n
March 22, 2021
Comments: