Question & Answer

Which function will teach Karel how to spin in a circle one time?

Which function will teach Karel how to spin in a circle one time?
function spin() {
turnRight();
}
function spin() {
turnLeft();
turnLeft();
turnLeft();
turnLeft();
}
function spin() {
turnLeft();
turnLeft();
}
function spin() {
move();
move();
move();
move();
}

1 Answer

Verified archive
Quizzma TeamMarch 29, 2025

The correct answer is:


function spin() {

turnLeft();

turnLeft();

}

Explanation: This function spins Karel in a circle one time by making it turn left twice, which effectively turns it around 180 degrees.