Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 120 - 2609_Logicode
P. 120

    LOOPING STATEMENTS                                                                     CHAPTER

                      IN PYTHON                                                                                7

                                                                                   Topics Covered                      95%

                                      Hey Techie, how does a computer                 The for Loop
                                      make decisions?                                 The while Loop
                                                                                      The jump Statements
                                                                                      Some More Programs

                        The computer uses conditional
                        statements to check if something
                        is true or false and then decides
                        what to do.

                                      So, it’s like asking a question and doing
                                      something if it’s true?

                                                                    Exactly! Loops help the computer repeat
                                                                              actions until a condition is met.

                                       So, loops make the computer repeat tasks?

                                                                   Yes! Let us learn about this in this chapter.

                      118   Premium Edition-VIII

| 115 116 117 118 119 120 121 122 123 124 125 |