First solution in Uncategorized category for Index Power by Taca
def index_power(array, n):
Find Nth power of the element with index N.
return array[n]**n if len(array) > n else -1
Feb. 18, 2016