Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Index Power solution in Clear category for Index Power by vvm70
def index_power(array: list, n: int) -> int:
return -1 if n >= len(array) else array[n]**n
April 17, 2020
Comments: