Quizzma Latest Questions

If Karel is facing North and the code

If Karel is facing North and the code
turnLeft();
turnLeft();
runs; which direction is Karel facing now?




Leave an answer

Leave an answer

What is the capital of Egypt? ( Cairo )

1 Answer

  1. 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.

Related Questions