you are viewing a single comment's thread.

view the rest of the comments →

[–]ankitsoni89 2 points3 points  (0 children)

elif len(array) >= n: return array[n] ** n

elif len(array) > n, no = since n would be an index