Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
ternary_operator solution in Clear category for Index Power by Totheheart
def index_power(array: list, n: int) -> int:
return array[n]**n if len(array) > n else -1
July 26, 2019
Comments: