Page 142 - C_GPT _V4 _class_7
P. 142

Conditional


               Statements in Python









                Learning Outcomes
                   Conditional Statements                                The if Statement
                   The if…else Statement                                 Nested if Statement
                   The if…elif…else Ladder



                Key Terms

                   Conditional statements: Decide the flow of program execution



                                Come on, let's
                                  play out.



                                                                                             My sister has programmed
                                                                                             this robot. It obeys all her
                                                                                                   instructions.















                                                I am trying to
                                             understand this code.



                                                                     Really! This sounds
                                                                        interesting.







                        CodeGPT (Ver. 4.0)-VII
                140
   137   138   139   140   141   142   143   144   145   146   147