Bite Sized Learning: Python Functions
Bite Sized Learning: Python Functions - Basics
A function is a block of reusable code that is used to perform a specific action
- It helps in eliminating the need to write the same code over and over again
- Built-in functions | User defined functions
General syntax:
def function_name(parameter list/argument):
statements, i.e. the function body
For details and code samples please follow below link:
Comments
Post a Comment