Python Programming Global Variable | Software Testing
Global variable is very important in Python Programming. A global variable in Python is often declared as the top of the program. In other words, variables that are declared outside of a function are known as global variables. You can access global variables in Python both inside and outside the function.
If you watch this video you will get clear idea about Global Variable. Following is example for Global Variable:
x = "Perfect" #Global Variable
def gVariable():
print("Example of Global Variable is : ", x)
gVariable ()
00:00 Intro
00:11 what is python global variable
01:02 Global Variable example tutorial
07:55 Outro
#python
#variable
#globalvariable
#pythonvariable
#pythontutorial
#softwaretesting
#programming
#testsoftusa
#freetutorial
Python Programming Global Variable | Software Testing