Back to Browse

Functions in Python

410 views
Sep 7, 2021
11:08

This video explains the simplest three ways of working with functions in Python: lambda functions (also called anonymous functions), named functions, and modules. Anonymous functions are simple small functions that are defined in a single line of code. They are defined with the lambda keyword. Named functions are defined with the def keyword and can span multiple lines. Modules are .py files that can contain functions which can be imported from other python files, notebooks, or the terminal. Chapters: 00:00 lambda functions 1:15 "def": Named functions 2:45 Scope 3:14 Using variables that are not inputs 5:00 Importing functions from .py-files 7:12 Autoreloading modules 9:45 Calling other functions in the same .py-file

Download

0 formats

No download links available.

Functions in Python | NatokHD