Problem with for loops

You start with 1 here,
so m[0] is 0 and not 1

1 Like