Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
┏(-‿-)┛┗(-_- )┓┗(-‿-)┛┏(-‿-)┓ solution in Clear category for Index Power by vmiimu
index_power = lambda a,n: -1 if (len(a)-1) < n else a[n]**n
Nov. 19, 2018