Page 85 - Dig_CodeAI_V2.1_Class_8
P. 85

6





































                                           Looping Statements


                                                        in Python




                   Learning Outcomes


                      The for Loop                                  The while Statement
                      The jump Statements                           Some More Programs




                                                                                        Critical Thinking


                     State whether these statements are true or false.

                     1. Python does not support conditional statements.
                     2. We can use if statement inside other if statement.
                     3. We can check multiple conditions in Python.

                     4. The if…else statement checks for a condition.
                     5. Python does not allow the nested if statement.
                     6. The if statement is the simplest conditional statement.









                                                                                Looping Statements in Python  83
   80   81   82   83   84   85   86   87   88   89   90