Hello,
sorry if my english isn't good. this my code
import math
def index_power(array, n):
if(n in array):
return int(math.pow(array[n],n))
else:
return -1
i don't understand. My code work correctly in the terminal. Thank you for your help.
Created at: 2016/04/16 11:24; Updated at: 2016/04/16 15:41