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

3.  To come out of the infinite loop, we can either close the program window or press Ctrl + C.

                      4.  A sequence is a succession of values bound together by a single name.

                      5.  The while statement is the looping statement.

                     Fill in the blanks with the correct words.



                                              Hints  infinite,  break,  iterative,  continue,  two

                      1.   Looping statements are also knowns as                  statements.

                      2.   Python provides                  types of looping statements.
                      3.  The                   loop never ends.

                      4.  The                   and                    are the jump statements in Python.


                Q    Answer the following questions:
                  A
                      1.  What is looping?







                      2.  What are the values generated by the function range(10, 20, 2)?









                      3.  What is the use of Jump statement?









                      4.  Define the use of while statement with the help of an example.











                      5.  Distinguish between continue and break statements.












                        Premium Edition-VIII
                122
   119   120   121   122   123   124   125   126   127   128   129