Page 136 - Plus V4 with Adobe class 7
P. 136

elif (Test Expression_3):
            Indented block 3
        else:

            Indented block


                                                      True
                                    Test Expression 1        Statement 1

                                             False


                                                      True
                                    Test Expression 2        Statement 2


                                            False


                                                      True
                                    Test Expression 3        Statement 3


                                             False           Body of else



                                                                     Statement just below
                                                                      if...elif...else ladder


          Program 7: To check whether a given number is two-digit number, three-digit number or
          four-digit number














        On running the above program, we get the following output:
























            134  Plus (Ver. 4.0)-VII
   131   132   133   134   135   136   137   138   139   140   141