1-liner solution in Speedy category for Index Power by Stensen
index_power = lambda i, j: i[j]**j if len(i)>j else -1
Sept. 21, 2020
Comments: