Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Index Power by virzen
import math
def index_power(array, n):
return math.pow(array[n], n) if len(array) >= n + 1 else -1;
Nov. 12, 2016