![]() ![]() For example print() and input() for I/O, number conversion functions (int(), float(), complex()), data type conversions (list(), tuple(), set()) etc. Many of them have been discussed in previously. They are always available for use in every interpreter session. Each When called, a function performs a specified task and returns the control back to the calling routine, optionally along with result of its process.Python interpreter has a number of built-in functions. This approach towards software development is called modular programming.Such a program has a main routine through which smaller independent modules (functions) are called upon. It is designed to perform a specific task that is a part of entire process. Long and complex logic in a program is broken into smaller, independent and reusable blocks of instructions usually called a module, a subroutine or function. Python Tutorial By KnowledgeHut In programming terminology, function is a separate, complete and reusable software component. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |