Page 113 - 2622_Delhi Police Public School_C-8
P. 113

Loops in Python












                  Learning Outcomes

                      The for Loop                                             The while Loop
                      The Jump Statements                                      Some More Programs




                  Key Terms

                       Infinite Loop: The infinite Loop never terminates and continues to run indefinitely when the given condition
                      never becomes false
                       Jump Statement: Controls the flow of the code and alters the normal sequential execution of statements



                  Papa, I am writing a program          Interesting!
                      in Python using loops.
                                                                       Our teacher has asked to submit a project
                                                                       file with at least 30 programs on Python.






















                                                                                            How many programs have
                                                                                                 you completed?







                                                                                                 Loops in Python   111
   108   109   110   111   112   113   114   115   116   117   118