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 mirotvoretz
def index_power(array: list, n: int) -> int:
"""
Find Nth power of the element with index N.
"""
return array[n]**n if n
Nov. 7, 2018