Unit 5 Lesson 6 Step 8 Ck for understanding mistake?

There seems to be an error in the answers for this check for understanding. Thecorrect answer should be:
p = pixels[row][col]…

and not:
p = pixels[r][c]…

Is this a mistake or am I misunderstanding?
thanks

1 Like

This is in AP Computer Science A

@pbender - Hi Patrick, thank you for your post. Yes, you are correct. The answer should use the values for “col” and “row”. I will submit this error to Code.org.
If you find any other obvious mistakes, you can always submit them to support@Code.org.
Sylvia

1 Like