Heere we have experimenting with functions in Python, Functions can be defined for specific task, functions are prepared to reuse them. modular programming can be defined as breaking the bigger task into chunks of blocks this can be achived with the Python functions. Over all we are going to know in depth knowledge on how Python function is powerful then other structure programs. We have seen some built-in functions which you don't need to import any modules. str(), int(), float(), bool() -- type definitions type(), id(), dir() -- introspecting the functions len(), range() -- sequance collection related functions print(), input(), raw_input() -- input output functions Python Function overview Function definition Calling Function in assignment Adding DocString to Function Function Execution – Scope of variables The import and reload Defining inner functions Lambda functions Function definition structure 1. Procedure - which do not ha...
Learn from the learners, learning is forever - Life is short it need Python programming !!!