First solution in Clear category for Index Power by Pouf
def index_power(array, n): try: return array[n]**n except: return -1
Oct. 15, 2014
Comments: