You are viewing a single comment's thread. Return to all comments →
pythnon:
def permutationEquation(p): result = [0] * len(p) for i in range(len(p)): result[i] = p.index(p.index(i+1) + 1) + 1 return result
Sequence Equation
You are viewing a single comment's thread. Return to all comments →
pythnon: