312,087 views
2 votes
2 votes
What does the “mystery” function do?

User Tinproject
by
2.8k points

2 Answers

15 votes
15 votes

Answer:

Find the product of prime number between 1and8

User Pmarcoen
by
2.6k points
21 votes
21 votes

Answer:

function mystery() {

while (noBallsPresent()) {

move();

}

}

Step-by-step explanation:

Karel moves until it is on a ball.

User Sampat
by
2.6k points