Computer Science, asked by roselinejemimah22, 3 months ago

define global scope with example.​

Answers

Answered by rohitshelke1622
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