Comment with an example on the use of local and global variable with the same identifier name.
Answers
Answered by
3
Step-by-step explanation:
In Python, a variable declared outside of the function or in global scope is known as a global variable. This means that a global variable can be accessed inside or outside of the function.
Similar questions