InterviewSolution
Saved Bookmarks
| 1. |
Python Variable Scope Resolution |
|
Answer» Scope of a variable is the part of the code, where it can be accessed freely and used by the program. The scopes in the above image are explained as follows:
The rules used in Python to resolve scope for local and global variables are as follows:
|
|