Page 97 - ThinkGPT_V2.1_C8_Flipbook
P. 97

7







































                                           Functions in Python






                   Learning Outcomes


                      Features of Function                          Advantages of Functions
                      Components of Python Function                 Types of Functions in Python
                      Creating a Function                           Calling a Function
                      Some More Programs


                                                                                        Critical Thinking
                                                                                        Technology Literacy

                     Write a Python code to add first five natural numbers using the ‘for’ loop.





















                                                                                         Functions in Python  95
   92   93   94   95   96   97   98   99   100   101   102