Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 127 - 2609_Logicode
P. 127

    Syntax:

                          continue
                     Program: To print first 12 whole numbers except 8.

                     On running the above program, you will get the following output:

                     SOME MORE PROGRAMS

                     Program: To print a pattern using while loop.

                                                                                 A loop repeatedly executes a block of
                                                                                 code, just as a flock of Starlings (birds)
                                                                                   repeatedly adjusts their formation.

                                                                                           Looping Statements in Python  125

| 122 123 124 125 126 127 128 129 130 131 132 |