First time here? Check out the FAQ!
answered 2018-03-21 13:11:51 +0100
Change the variable in your third loop from i to, say, k. The variable i is supposed to be a subset of m.
i
k
m