Which of the following is the correct way to define a turnRight function in Karel?

function turnRight() {
turnLeft();
turnLeft();
turnLeft();
}

function turnRight() {
turnRight();
turnRight();
turnRight();
}

function turnRight {
turnLeft();
turnLeft();
turnLeft();
}

turnRight function() {
turnLeft();
turnLeft();
turnLeft();
}

The correct way to define a turnRight function in Karel is:

function turnRight() {
turnLeft();
turnLeft();
turnLeft();
}

are you sure'

Yes, I am sure. In Karel, the turnRight function is defined by turning left three times. This effectively turns the robot 90 degrees to the right. By calling turnLeft() three times within the function, we accomplish this desired behavior.