Page 84 - TP_V5.1_C8_fb
P. 84
FUNCTIONS, STRING CHAPTER
AND LIST IN PYTHON 6
Techie, I feel bored creating the Topics Covered 95%
same block of code repetitively. Introducing 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 simply by 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.
82 Premium Edition-VIII

