11
Last seen 1 year ago
Member for 6 years, 3 months, 7 days
Difficulty Normal
Liked
a comment created by Sim0000
for
forum post "I think this is a bug in the last extra test"
Now I got it. Read task description carefully. It says **If N is outside of the array, then return -
Commented a forum post "I think this is a bug in the last extra test" created by
Antikuz
Thank you very much, I feel very stupid :'(
Commented a forum post "I think this is a bug in the last extra test" created by
Antikuz
def index_power(array, n):
"""
Find Nth power of the element with index N.
""
Created a forum post "I think this is a bug in the last extra test"
index_power([75,68,35,61,9,36,89,0,30],10)
There is no 10 index in the list, so -1 is returned.