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
In questa pagina del sito puoi guardare il video online Functions in Python della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Anders Munk-Nielsen 07 settembre 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 410 volte e gli è piaciuto 3 spettatori. Buona visione!