Page 111 - TrackpadV5.1_class8
P. 111

FUNCTIONS, STRING                                                                        CHAPTER


                 AND LIST IN PYTHON                                                                         8





















                                 Techie, I feel bored creating the          Topics Covered                      95%
                                 same block of code repetitively.              Introduction to Python Functions
                                 Besides,  it  becomes  difficult  at          String
                                 times to find errors in a lengthy             List
                                                                               Some More Programs
                                 program. How do I manage this?










                 Shweta, the Python programming language has solutions for most of your problems.











                                 Techie, just hearing about this fills my heart with enthusiasm. Implementing it
                                 would be fun!








                 You can divide a bigger task into smaller, manageable tasks and if a block of code
                 is defined as a function, it can be reused by simply calling it.

                 I’m sure it’d be fun! Let me introduce you to the concept of functions in this chapter.
                 It would be a strong foundation for learning more about programming.








                                                                                   Functions, String and List in Python  109
   106   107   108   109   110   111   112   113   114   115   116