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
На этой странице сайта вы можете посмотреть видео онлайн Python Scope Resolution - LEGB Rule | Python Tutorial in Hindi | #71 длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Code With Daneyal 23 Август 2024, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 184 раз и оно понравилось 6 зрителям. Приятного просмотра!