Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Second - ERROR Handling solution in Creative category for Index Power by bryon.hance
def index_power(array: list, n: int) -> int:
"""
Find Nth power of the element with index N.
"""
try:
return array[n] ** n
except:
return -1
Aug. 12, 2019