Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 92 - 2611_SmartGPT Pro V(5.0) C-8
P. 92

    FUNCTIONS AND                                                                          CHAPTER

                      STRING IN PYTHON                                                                         6

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

                       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.

                       90   Computer Science (V5.0)-VIII

| 87 88 89 90 91 92 93 94 95 96 97 |