If Karel is facing North and the code
turnLeft();
turnLeft();
runs; which direction is Karel facing now?
If Karel is facing North and the code
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Karel is facing South.
Explanation:
When Karel turns left while facing North, it turns to face West. After another left turn, Karel will be facing South. Each left turn changes the direction by 90 degrees in a counter-clockwise direction.