Page 58 - Dig_CodeAI_V2.1_Class_8
P. 58

Look at another examples:

                  1.                                                           St
                        Move 1 step down

                        Repeat 6 times
                        (
                        Fill color

                        Move 1 right
                        )


                                                                               St
                  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:




























                       56    DigiCode AI (Ver. 2.1)-VIII
   53   54   55   56   57   58   59   60   61   62   63