If Karel is facing North and the code
turnLeft();
turnLeft();
runs; which direction is Karel facing now?
Question & Answer
If Karel is facing North and the code
1 Answer
Verified archiveKarel 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.