The sign > means more than. stars holds 3. Is 3 more than 2? Yes, so the robot says You win. With 1 star, it would say Try again.
repeat 3:says 3repeat 5:says 5
Change the program
To change what it says, change the right part. Lily wants the program to say 5. Change repeat 3: to repeat 5:. Now the loop adds 1 five times.
For parents
Goal: Your child reads a whole program with a variable, a loop and a choice, and says what it will do.
Make a small table on paper with three columns: line, robot, box. Fill it in together.
Ask your child to explain what each line does before giving the final answer.
The last lab is the big end of year challenge. It uses a loop, if, else and a counter together. Let your child plan it on paper first, and cheer every try.
Away from the screen: Write a short program on paper for a real task, like steps = 0, repeat 5: step forward and add 1, say steps. Your child acts it out and says the number.