define global scope with example.
Answers
Answered by
3
Answer:
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. Let's see an example of how a global variable is created in Python.
Explanation:
hope it helps uhh:)
Similar questions