Page 58 - Digicode_AI_class_8
P. 58
Look at another examples:
1.
Move 2 steps down
Repeat 6 times
(
Fill color
Move 1 right
)
2.
Repeat until reached last column
(
Fill color
Move 1 right
)
Critical Thinking
code Quest
Write the program to take Ananya to her home.
END
START
Program without loop: Program with loop:
Move 1 right
Move 1 right
Move 1 right
Move 1 right
Move 1 up
Move 1 up
Move 1 up
56 DigiCode AI-VIII

