InterviewSolution
Saved Bookmarks
| 1. |
Explain Scope of Variables. |
|
Answer» All variables in a program may not be accessible at all locations in that program. This depends on where you have declared a variable. The scope of a variable determines the portion of the program where you can access a particular identifier. There are two basic scopes of variables in Python : (1) Global variables (2) Local variables |
|