What does the command "turnLeft()" accomplish when Karel faces north?

Prepare for the Karel Challenges Test. Study using flashcards, multiple-choice questions, hints, and explanations. Enhance your learning and excel in your exam!

The command "turnLeft()" instructs Karel to make a 90-degree turn to the left from its current direction. When Karel is facing north and executes the "turnLeft()" command, it will pivot to its left side. This repositioning causes Karel to now face west. Thus, this command effectively changes Karel’s orientation from north to west, confirming the correctness of the response that states Karel turns to face west.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy