video not played or not found error
click on direct switch
Hosted by Dailymotion. For legal issues: Copyright Center · DMC · Instant Removal
Lecture 72: Global vs Non-local Keywords in Python
10 Views • May 23, 2025
Description
Global Keyword
The global keyword is used to modify a variable defined outside the current function, in the global scope. Without global, any assignment to a variable within a function is assumed to be local to that function.
Nonlocal Keyword
The nonlocal keyword is used in nested functions to modify a variable in the nearest enclosing scope that is not global. It allows inner functions to modify variables in the outer (non-global) function's scope
More from User
Episode 1 – The Curious Boy from Ulm (1879-1895)
Nafees AI Lab
Top Fully Funded Scholarships in Germany 2025 🇩🇪 | Apply Now!
Nafees AI Lab
The Boy and the Dragon – “A Friend in the Sky”
Nafees AI Lab
Why Do Rainbows Appear? 🌈 | Physics in Everyday Life
Nafees AI Lab
Albert Einstein: The Genius Who Changed Time
Nafees AI Lab
Stephen Hawking’s Life in 60 Seconds: From Wheelchair to the Universe
Nafees AI Lab
Related Videos
Lecture 58: Python has keywords as Continue Break Pass
Nafees AI Lab
Python Loops with BREAK, CONTINUE and PASS keywords | Python Courses in Kannada (ಕನ್ನಡ) | Skillfloor
Skillfloor
How To Use Google Keyword Planner To Find Local Keywords
One Base Media
Lesson 09 | Flow Control Keywords | Playwright Python Course
ClipStorm
Free Online SEO Lecture 7 Types of Keywords
Online Pakistani
Python for Accountants Part 3 :Keywords and Data Types
Rizwan Ahmed