I have encountered a problem with this exercise and confirmed with with my tutor. Add the integer variable and if statement as per image, all other code is untouched.
Code will run as expected. However, if you uncomment the turnLeft(), then the if statement appears to run many times.
I have encountered a problem with this exercise and confirmed with with my tutor. Add the integer variable and if statement as per image, all other code is untouched.
Code will run as expected. However, if you uncomment the turnLeft(), then the if statement appears to run many times.