Page 127 - 2622_Delhi Police Public School_C-8
P. 127

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?




































                                                                                   Functions and String  in Python  125
   122   123   124   125   126   127   128   129   130   131   132