Page 114 - Trackpad_V4.0_C8_Flipbook
P. 114

Functions and String


                                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
                   String                                                   Some More Programs


                Key Terms

                    Function: Block of organised and reusable code used to perform a single or related action
                    String: Sequence of characters enclosed or surrounded by single (‘ ’) or double (“ ”) quotes



                Can you help me in finding the                     Sure!
                mistake I have done in my code?




































                        Premium Edition-VIII
                112
   109   110   111   112   113   114   115   116   117   118   119