Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
ternary operators solution in Clear category for Index Power by David_Jones
def index_power(array, n):
return array[n] ** n if n < len(array) else -1
May 1, 2019
Comments: