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
  1. It helps in eliminating the need to write the same code over and over again
  2. 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

Popular posts from this blog

Unlocking the True Cost of Generative AI