You are viewing a single comment's thread. Return to all comments →
def permutationEquation(p): # Write your code here res = [] for i in range(len(p)): x = p.index(i + 1) y = p.index(x + 1) res.append(y + 1) return res
Seems like cookies are disabled on this browser, please enable them to open this website
Sequence Equation
You are viewing a single comment's thread. Return to all comments →