Assigning to Global Variables PREMIUM

Variable Scope

Python has 4 scopes: local, enclosing, global, and built-ins. Python's "global" variables are only global to the module they're in. The only truly universal variables are the built-ins.

0%
Watch other topic trails