+ 2
what are global variables
6 odpowiedzi
+ 1
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.
https://www.programiz.com/python-programming/global-local-nonlocal-variables
Thanks for your question and happy coding.
+ 1
global variables are variables which are defined outside a function and can be accessed throughout the program.
0
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.
Thanks for your question and happy coding.