Page 58 - ThinkGPT_V2.1_C8_Flipbook
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    Premium Edition-VIII
   53   54   55   56   57   58   59   60   61   62   63