Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Index Power by hilokazu.yoshino
def index_power(array, n):
"""
Find Nth power of the element with index N.
"""
return array[n]**n if n
June 15, 2018