Python Scope Resolution - LEGB Rule | Python Tutorial in Hindi | #71

Pubblicato il: 23 agosto 2024
sul canale di: Code With Daneyal
184
6

In this video, you will learn,

Using the LEGB Rule for Python Scope

Python resolves names using the so-called LEGB rule, which is named after the Python scope for names. The letters in LEGB stand for Local, Enclosing, Global, and Built-in.

Functions: The Local Scope
Nested Functions: The Enclosing Scope
Modules: The Global Scope
builtins: The Built-In Scope

#codewithdaneyal


In questa pagina del sito puoi guardare il video online Python Scope Resolution - LEGB Rule | Python Tutorial in Hindi | #71 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Code With Daneyal 23 agosto 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 184 volte e gli è piaciuto 6 spettatori. Buona visione!