Can someone explain why is this wrong?
{mentor edit: code removed}
The output:
It’s wrong because your code returns the incorrect values.
The problem could be in the for-loop statement where you set the value of the ‘row’ variable.
Please do not post your code and ask if it is correct. That’s not allowed by the Code of Conduct.