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

Publié le: 23 août 2024
sur la chaîne: 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


Sur cette page du site, vous pouvez voir la vidéo en ligne Python Scope Resolution - LEGB Rule | Python Tutorial in Hindi | #71 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Code With Daneyal 23 août 2024, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 184 fois et il a aimé 6 téléspectateurs. Bon visionnage!