- Function - Definition
- The function makes program code reusable, that is only defined once and then can be used repeatedly
- Modularity - break up large programs into the sub-sub program
- So far, we have used several functions, e.g. print (), type () functions
- The function is the default function of Python
- We can make our own functions as needed
- Functions are program-block for performing certain tasks
No comments:
Post a Comment