TLDR
The Reusability of the code in a program is made possible through functions. A function may/may not accept input(s) and may not return an output(s). A function implements this just by writing once and using it whenever necessary. Creating a function must be followed by the function name followed by a parenthesis filled with formal parameters(optional) The body of the function is ignored by the python interpreter, just like it ignores comments. The function call is when the code inside the function actually gets executed.via the TL;DR App
no story
Written by aswinbarath | Business Operations Manager | Freelancer | Community Leader | Web Developer | Blogger