First solution in Clear category for Index Power by darasg2008
def index_power(array, n): if n>len(array)-1: return -1 return array[n]**n
Nov. 3, 2016