First time here? Check out the FAQ!
answered 2021-02-20 14:18:47 +0100
At the end I chose to do it in the following way
K=[] for a in range(len(S)): J=[] J.append(a^2+a) #do what I need to do on the set J, this is a trivial example K.append(J)